Bring up all dependencies when running a single service.
Added test for running a depends_on service Signed-off-by: Joffrey F <joffrey@docker.com>
This commit is contained in:
parent
77cf67ba8a
commit
367fabdbfa
3 changed files with 23 additions and 1 deletions
13
tests/fixtures/v2-dependencies/docker-compose.yml
vendored
Normal file
13
tests/fixtures/v2-dependencies/docker-compose.yml
vendored
Normal file
|
|
@ -0,0 +1,13 @@
|
|||
version: "2.0"
|
||||
services:
|
||||
db:
|
||||
image: busybox:latest
|
||||
command: top
|
||||
web:
|
||||
image: busybox:latest
|
||||
command: top
|
||||
depends_on:
|
||||
- db
|
||||
console:
|
||||
image: busybox:latest
|
||||
command: top
|
||||
Loading…
Add table
Add a link
Reference in a new issue