فهرست منبع

Update 'portainer'

Laurie Summers 1 سال پیش
والد
کامیت
c0c1773e21
1فایلهای تغییر یافته به همراه15 افزوده شده و 2 حذف شده
  1. 15 2
      portainer

+ 15 - 2
portainer

@@ -1,2 +1,15 @@
-Installing Portainer 
-https://pimylifeup.com/raspberry-pi-portainer/
+Installing Portainer https://pimylifeup.com/raspberry-pi-portainer/
+
+sudo docker pull portainer/portainer-ce:latest
+
+sudo docker run -d -p 9000:9000 --name=portainer --restart=always -v /var/run/docker.sock:/var/run/docker.sock -v portainer_data:/data portainer/portainer-ce:latest
+
+Also start a docker agent if you want to control other docker instances on other PI's
+
+docker run -d \
+  -p 9001:9001 \
+  --name portainer_agent \
+  --restart=always \
+  -v /var/run/docker.sock:/var/run/docker.sock \
+  -v /var/lib/docker/volumes:/var/lib/docker/volumes \
+  portainer/agent:2.19.4