gopkg.in/docker/libcompose.v0@v0.4.0/integration/assets/networks/network-mode.yml (about) 1 version: "2" 2 3 services: 4 bridge: 5 image: busybox 6 command: top 7 network_mode: bridge 8 9 service: 10 image: busybox 11 command: top 12 network_mode: "service:bridge" 13 14 container: 15 image: busybox 16 command: top 17 network_mode: "container:composetest_network_mode_container" 18 19 host: 20 image: busybox 21 command: top 22 network_mode: host 23 24 none: 25 image: busybox 26 command: top 27 network_mode: none