Services can join 'bridge' or 'host'
Signed-off-by: Aanand Prasad <aanand.prasad@gmail.com>
This commit is contained in:
parent
e75629392d
commit
ca68c9faa4
3 changed files with 45 additions and 6 deletions
17
tests/fixtures/networks/predefined-networks.yml
vendored
Normal file
17
tests/fixtures/networks/predefined-networks.yml
vendored
Normal file
|
|
@ -0,0 +1,17 @@
|
|||
version: 2
|
||||
|
||||
services:
|
||||
bridge:
|
||||
image: busybox
|
||||
command: top
|
||||
networks: ["bridge"]
|
||||
|
||||
host:
|
||||
image: busybox
|
||||
command: top
|
||||
networks: ["host"]
|
||||
|
||||
none:
|
||||
image: busybox
|
||||
command: top
|
||||
networks: []
|
||||
Loading…
Add table
Add a link
Reference in a new issue