Test network_aliases feature
Signed-off-by: Joffrey F <joffrey@docker.com>
This commit is contained in:
parent
2f7a77e954
commit
c686be8fd3
5 changed files with 70 additions and 2 deletions
18
tests/fixtures/networks/network-aliases.yml
vendored
Normal file
18
tests/fixtures/networks/network-aliases.yml
vendored
Normal file
|
|
@ -0,0 +1,18 @@
|
|||
version: "2"
|
||||
|
||||
services:
|
||||
web:
|
||||
image: busybox
|
||||
command: top
|
||||
networks:
|
||||
- front
|
||||
- back
|
||||
|
||||
network_aliases:
|
||||
front:
|
||||
- forward_facing
|
||||
- ahead
|
||||
|
||||
networks:
|
||||
front: {}
|
||||
back: {}
|
||||
Loading…
Add table
Add a link
Reference in a new issue