在撰写文件中指定泊坞窗networking作用域

什么我放入我的撰写文件使用docker stack deploy命令来复制使用命令docker network create test --scope swarm ? 所以我需要改变范围为群众驱动程序。 我一直在search一个日志,但找不到任何东西。

 networks: front: # use the bridge driver, but enable IPv6 driver: bridge driver_opts: com.docker.network.enable_ipv6: "true" ipam: driver: default config: - subnet: xxxx/24 gateway: xxxx - subnet: "2001:3984:3989::/64" gateway: "2001:3984:3989::1" back: # use a custom driver, with no options driver: custom-driver-1 

那么我的解决scheme只是使用overlay驱动程序,它默认是swarm-scoped