Last active
July 23, 2023 02:22
-
-
Save karoltheguy/2a3e8789698b7e99e2550bbcadfbda77 to your computer and use it in GitHub Desktop.
Update Portainer
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
sudo docker stop portainer | |
sudo docker rm portainer | |
sudo docker run -d -p 8000:8000 -p 9000:9000 -p9443:9443 --name=portainer --restart=always --pull=always -v /var/run/docker.sock:/var/run/docker.sock -v /containers/portainer:/data portainer/portainer-ee |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
To run from bash
curl -s https://gist.githubusercontent.com/k-rol/2a3e8789698b7e99e2550bbcadfbda77/raw/81ade033b7cce15166534319532d45cc1dfbf626/update_portainer.sh | bash -s arg1 arg2