This commit is contained in:
2026-05-31 14:16:19 +02:00
parent 014ff7bba0
commit 942670abca
4 changed files with 10 additions and 6 deletions
+5
View File
@@ -0,0 +1,5 @@
# Only run this to create the overlay network for the Portainer Agent if it doesn't already exist
docker network create \
--driver overlay \
portainer_agent_network
-4
View File
@@ -1,9 +1,5 @@
# Setup the Portainer Agent on a Docker Swarm cluster
docker network create \
--driver overlay \
portainer_agent_network
docker service create \
--name portainer_agent \
--network portainer_agent_network \
+3
View File
@@ -0,0 +1,3 @@
# Stop and remove the Portainer Agent service
docker service rm portainer_agent