Last active
June 14, 2021 23:40
-
-
Save DartPower/9dab51af7e0b3a7876879c783c96fa0c to your computer and use it in GitHub Desktop.
Portainer update script
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
| docker pull portainer/portainer-ce | |
| docker stop portainer | |
| docker rm portainer | |
| 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 |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment