Remove all non-external networks on down.
Also moves the shutdown test fixtures to be a more general v2-full fixture. Signed-off-by: Daniel Nephin <dnephin@docker.com>
This commit is contained in:
parent
796d97e394
commit
0f234154c2
6 changed files with 39 additions and 22 deletions
10
tests/fixtures/shutdown/docker-compose.yml
vendored
10
tests/fixtures/shutdown/docker-compose.yml
vendored
|
|
@ -1,10 +0,0 @@
|
|||
|
||||
version: 2
|
||||
|
||||
volumes:
|
||||
data:
|
||||
driver: local
|
||||
|
||||
services:
|
||||
web:
|
||||
build: .
|
||||
20
tests/fixtures/v2-full/docker-compose.yml
vendored
Normal file
20
tests/fixtures/v2-full/docker-compose.yml
vendored
Normal file
|
|
@ -0,0 +1,20 @@
|
|||
|
||||
version: 2
|
||||
|
||||
volumes:
|
||||
data:
|
||||
driver: local
|
||||
|
||||
networks:
|
||||
front: {}
|
||||
|
||||
services:
|
||||
web:
|
||||
build: .
|
||||
networks:
|
||||
- front
|
||||
- default
|
||||
|
||||
other:
|
||||
image: busybox:latest
|
||||
command: top
|
||||
Loading…
Add table
Add a link
Reference in a new issue