Portainer Essentials


Portainer Essentials

Install

sudo docker volume create portainer_data
sudo docker run -d -p 8000:8000 -p 9000:9000 --name=portainer --restart=always -v /var/run/docker.sock:/var/run/docker.sock -v portainer_data:/data portainer/portainer-ce

If Upgrading

If you are upgrading from version 1.x.

docker: Error response from daemon: Conflict. The container name “/portainer” is already in use by container “99999999999999999999999”

sudo docker stop portainer
sudo docker rm portainer

Then retry the install

  • https://www.portainer.io/installation/