.
This commit is contained in:
Executable
+5
@@ -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
|
||||
@@ -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 \
|
||||
|
||||
Executable
+3
@@ -0,0 +1,3 @@
|
||||
# Stop and remove the Portainer Agent service
|
||||
|
||||
docker service rm portainer_agent
|
||||
Reference in New Issue
Block a user