📜  docker swarm 将管理器定义为放置 - Shell-Bash 代码示例

📅  最后修改于: 2022-03-11 14:50:47.162000             🧑  作者: Mango

代码示例1
# A good way is by hostname, which is easy to identify. 
deploy:
    placement:
        constraints: [node.hostname == test1.spuddy.org]