Skip to content
This repository was archived by the owner on Nov 2, 2024. It is now read-only.

Docker LXC (Portainer) #2936

Answered by BramSuurdje
Akenjeru asked this question in Q&A
Discussion options

You must be logged in to vote

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

Replies: 1 comment

Comment options

You must be logged in to vote
0 replies
Answer selected by Akenjeru
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Category
Q&A
Labels
None yet
2 participants