Search
 
SCRIPT & CODE EXAMPLE
 
CODE EXAMPLE FOR SHELL

docker swarm define manager to placement

# A good way is by hostname, which is easy to identify. 
deploy:
    placement:
        constraints: [node.hostname == test1.spuddy.org]
Source by www.sweharris.org #
 
PREVIOUS NEXT
Tagged: #docker #swarm #define #manager #placement
ADD COMMENT
Topic
Name
9+5 =