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:
Joffrey F 2016-02-11 16:31:08 -08:00
commit 367fabdbfa
3 changed files with 23 additions and 1 deletions

View 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