Disable the use of 'net' in v2
Signed-off-by: Aanand Prasad <aanand.prasad@gmail.com>
This commit is contained in:
parent
69ed5f9c48
commit
35e347cf92
4 changed files with 41 additions and 1 deletions
7
tests/fixtures/net-container/docker-compose.yml
vendored
Normal file
7
tests/fixtures/net-container/docker-compose.yml
vendored
Normal file
|
|
@ -0,0 +1,7 @@
|
|||
foo:
|
||||
image: busybox
|
||||
command: top
|
||||
net: "container:bar"
|
||||
bar:
|
||||
image: busybox
|
||||
command: top
|
||||
10
tests/fixtures/net-container/v2-invalid.yml
vendored
Normal file
10
tests/fixtures/net-container/v2-invalid.yml
vendored
Normal file
|
|
@ -0,0 +1,10 @@
|
|||
version: 2
|
||||
|
||||
services:
|
||||
foo:
|
||||
image: busybox
|
||||
command: top
|
||||
bar:
|
||||
image: busybox
|
||||
command: top
|
||||
net: "container:foo"
|
||||
Loading…
Add table
Add a link
Reference in a new issue