Add Portainer install and update scripts.
This commit is contained in:
parent
b55c2d9712
commit
75b052d7a5
|
@ -0,0 +1,3 @@
|
|||
#!/bin/bash
|
||||
|
||||
sudo 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 portainer/portainer-ee:latest
|
|
@ -0,0 +1,6 @@
|
|||
#!/bin/bash
|
||||
|
||||
sudo docker stop portainer
|
||||
sudo docker rm portainer
|
||||
sudo docker pull portainer/portainer-ee:latest
|
||||
sudo 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 portainer/portainer-ee:latest
|
Loading…
Reference in New Issue