Support the 'external' option for networks

Signed-off-by: Aanand Prasad <aanand.prasad@gmail.com>
This commit is contained in:
Aanand Prasad 2016-01-14 13:39:44 +00:00
commit 73fbd01cfe
4 changed files with 65 additions and 3 deletions

View file

@ -0,0 +1,16 @@
version: 2
services:
web:
image: busybox
command: top
networks:
- networks_foo
- bar
networks:
networks_foo:
external: true
bar:
external:
name: networks_bar