Install Portainer
Create Docker Volume: docker volume create portainer_data
Deploy Portainer:
docker run -d \
-p 8000:8000 \
-p 9443:9443 \
--name portainer \
--restart=always \
-v /var/run/docker.sock:/var/run/docker.sock \
-v portainer_data:/data \
portainer/portainer-ce:latest
Connect to portainer "https://localhost:9443" and setup admin account.
Update:
Admin user creation now requires a token. The token can only be seen from the docker logs and you have a 5 minute time limit to setup the account. The token changes every time you restart Portainer.
Find CONTAINER ID with: docker ps
View logs with: docker logs <container id>
Restart portainer with: docker restart <container id>
Click Home -> Environments and add the host IP (10.20.10.75, for me) into the Public IP field.
Optionally, change Settings -> Settings -> Application Settings -> URL to https://raw.githubusercontent.com/technorabilia/portainer-templates/main/lsio/templates/templates-2.0.json
References:
https://linuxiac.com/docker-portainer-install/
Start at about 5 minutes - https://www.youtube.com/watch?v=2UrZzXCqcLc
https://docs.portainer.io/faqs/installing/setup-token - New admin user token
No comments to display
No comments to display