1,163
社区成员
发帖
与我相关
我的任务
分享
version: "3"
networks:
test:
driver: overlay
services:
busybox1:
image: busybox
environment:
- FABRIC_LOGGING_SPEC=INFO
command: ping www.baidu.com
deploy:
placement:
constraints:
- node.labels.type == ali
networks:
- test
busybox2:
image: busybox
environment:
- FABRIC_LOGGING_SPEC=DEBUG
command: ping www.baidu.com
deploy:
placement:
constraints:
- node.labels.type == hw
networks:
- test