From 9ea37b603bc70792d90927f43961dbc0027bdec7 Mon Sep 17 00:00:00 2001 From: WickedYoda <68271168+wickedyoda@users.noreply.github.com> Date: Tue, 22 Aug 2023 14:18:08 -0500 Subject: [PATCH] Created portainer folder and install script. --- portainer/portainer-installscript.sh | 7 +++++++ 1 file changed, 7 insertions(+) create mode 100644 portainer/portainer-installscript.sh diff --git a/portainer/portainer-installscript.sh b/portainer/portainer-installscript.sh new file mode 100644 index 0000000..6736908 --- /dev/null +++ b/portainer/portainer-installscript.sh @@ -0,0 +1,7 @@ +#bash + +#create the portainer volume: +docker volume create portainer_data + +#Download and create portainer container, have to change default 8000 port on exposed side if you are running yacht on its default port. +docker run -d -p 8099:8000 -p 9443:9443 --name portainer --restart=always -v /var/run/docker.sock:/var/run/docker.sock -v portainer_data:/data portainer/portainer-ce:latest \ No newline at end of file