Add portainer-install.sh
This commit is contained in:
parent
f8223f4cac
commit
39a59b0248
1 changed files with 6 additions and 0 deletions
6
portainer-install.sh
Normal file
6
portainer-install.sh
Normal file
|
@ -0,0 +1,6 @@
|
|||
sudo docker volume create portainer_data
|
||||
sudo docker run -d -p 8000:8000 -p 9000:9000 -p 9443:9443 \
|
||||
--name=portainer --restart=always --ip 172.17.0.2 \
|
||||
-v /var/run/docker.sock:/var/run/docker.sock \
|
||||
-v portainer_data:/data \
|
||||
portainer/portainer-ce:latest
|
Loading…
Add table
Add a link
Reference in a new issue