Skip to content

Commit

Permalink
Updated Portainer Commands
Browse files Browse the repository at this point in the history
  • Loading branch information
MrDKGE committed Jul 10, 2022
1 parent 0680527 commit 908129b
Show file tree
Hide file tree
Showing 6 changed files with 30 additions and 6 deletions.
6 changes: 5 additions & 1 deletion portainer/community-portainer-clean.sh
Original file line number Diff line number Diff line change
Expand Up @@ -6,4 +6,8 @@
docker stop portainer
docker rm portainer
docker system prune -a --volumes -f
docker run -d -p 8000:8000 -p 9000:9000 --name=portainer --restart=always -v /var/run/docker.sock:/var/run/docker.sock -v portainer_data:/data portainer/portainer-ce
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:/data \
portainer/portainer-ce
6 changes: 5 additions & 1 deletion portainer/community-portainer-install.sh
Original file line number Diff line number Diff line change
Expand Up @@ -3,4 +3,8 @@
# Version: 1.0.0
# Tested on: Debian 11 (Bullseye)
#==============================================================================
docker run -d -p 8000:8000 -p 9000:9000 --name=portainer --restart=always -v /var/run/docker.sock:/var/run/docker.sock -v portainer_data:/data portainer/portainer-ce
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:/data \
portainer/portainer-ce
6 changes: 5 additions & 1 deletion portainer/community-portainer-update.sh
Original file line number Diff line number Diff line change
Expand Up @@ -6,4 +6,8 @@
docker pull portainer/portainer-ce
docker stop portainer
docker rm portainer
docker run -d -p 8000:8000 -p 9000:9000 --name=portainer --restart=always -v /var/run/docker.sock:/var/run/docker.sock -v portainer_data:/data portainer/portainer-ce
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:/data \
portainer/portainer-ce
6 changes: 5 additions & 1 deletion portainer/enterprise-portainer-clean.sh
Original file line number Diff line number Diff line change
Expand Up @@ -6,4 +6,8 @@
docker stop portainer
docker rm portainer
docker system prune -a --volumes -f
docker run -d -p 8000:8000 -p 9000:9000 --name=portainer --restart=always --pull=always -v /var/run/docker.sock:/var/run/docker.sock -v portainer_data:/data portainer/portainer-ee
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:/data \
portainer/portainer-ee
6 changes: 5 additions & 1 deletion portainer/enterprise-portainer-install.sh
Original file line number Diff line number Diff line change
Expand Up @@ -3,4 +3,8 @@
# Version: 1.0.0
# Tested on: Debian 11 (Bullseye)
#==============================================================================
docker run -d -p 8000:8000 -p 9000:9000 --name=portainer --restart=always --pull=always -v /var/run/docker.sock:/var/run/docker.sock -v portainer_data:/data portainer/portainer-ee
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:/data \
portainer/portainer-ee
6 changes: 5 additions & 1 deletion portainer/enterprise-portainer-update.sh
Original file line number Diff line number Diff line change
Expand Up @@ -5,4 +5,8 @@
#==============================================================================
docker stop portainer
docker rm portainer
docker run -d -p 8000:8000 -p 9000:9000 --name=portainer --restart=always --pull=always -v /var/run/docker.sock:/var/run/docker.sock -v portainer_data:/data portainer/portainer-ee
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:/data \
portainer/portainer-ee

0 comments on commit 908129b

Please sign in to comment.