Press "Enter" to skip to content

How to update portainer inside docker

bist 0

Find the portainer container

docker ps

a18243f78426 portainer/portainer-ce

Stop the portainer container

docker stop 49fdb64503ab

Remove the portainer container

docker rm 49fdb64503ab

Find the portainer image

docker images

Remove the portainer image

docker rmi 45be17a5903a

Install portainer

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

There you go. Updated to the latest version

Leave a Reply

Your email address will not be published. Required fields are marked *