Test that net can be extended
Signed-off-by: Aanand Prasad <aanand.prasad@gmail.com>
This commit is contained in:
parent
2b7306967b
commit
2b46685855
3 changed files with 5 additions and 0 deletions
1
tests/fixtures/extends/common.yml
vendored
1
tests/fixtures/extends/common.yml
vendored
|
|
@ -1,6 +1,7 @@
|
|||
web:
|
||||
image: busybox
|
||||
command: /bin/true
|
||||
net: host
|
||||
environment:
|
||||
- FOO=1
|
||||
- BAR=1
|
||||
|
|
|
|||
1
tests/fixtures/extends/docker-compose.yml
vendored
1
tests/fixtures/extends/docker-compose.yml
vendored
|
|
@ -11,6 +11,7 @@ myweb:
|
|||
BAR: "2"
|
||||
# add BAZ
|
||||
BAZ: "2"
|
||||
net: bridge
|
||||
mydb:
|
||||
image: busybox
|
||||
command: top
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue