This repository was archived by the owner on Nov 2, 2024. It is now read-only.
Docker LXC (Portainer) #2936
-
How to update portainer lxc to 2.19.5 or 2.20? |
Beta Was this translation helpful? Give feedback.
Answered by
BramSuurdje
May 8, 2024
Replies: 1 comment
-
inside of the docker container. you can run the following commands to update portainer to the latest version: First, stop the container Then, remove the old container Pull the latest image: Finally, re-deploy the container |
Beta Was this translation helpful? Give feedback.
0 replies
Answer selected by
Akenjeru
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
inside of the docker container. you can run the following commands to update portainer to the latest version:
First, stop the container
docker stop portainer
Then, remove the old container
docker rm portainer
Pull the latest image:
docker pull portainer/portainer-ce:latest
Finally, re-deploy the container
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