website/_posts/2021-08-06-docker-portainer.md
2021-08-31 18:26:27 +02:00

1.0 KiB

layout title description author image categories comments
post Docker Portainer Docker Portainer sthope portainer-small-logo.png
Docker
Portainer
true

Portainer

  1. On the terminal create folder for Portainer, eg:
mkdir -p /docker/portainer
  1. Create and start the container:
docker run -d \
-p 8000:8000 \
-p 9000:9000 \
--name=portainer \
--restart=always \
-v /var/run/docker.sock:/var/run/docker.sock \
-v /docker/portainer:/data \
portainer/portainer-ce:latest
  1. Open WebUI at:
http://{IP}:9000
  1. Create new User

  2. Choose Docker

  3. Select your instance

  4. Open Endpoints and setup the host IP