How to upgrade docker and portainer

Raspberry Pi projects and help.
Post Reply
User avatar
l6vibq
Site Admin
Posts: 45
Joined: Sun Aug 01, 2021 2:42 am
Contact:

How to upgrade docker and portainer

Post by l6vibq »

Four commands to update your Portainer docker:
1. docker stop portainer
2. docker rm portainer
3. docker pull portainer/portainer-ce:latest
4. docker run -d -p 9000:9000 \
--name=portainer --restart=always \
-v /var/run/docker.sock:/var/run/docker.sock \
-v portainer_data:/data \
portainer/portainer-ce:latest
You never have to much fuel unless you are on fire!

Return to “Raspberry Pi”