Merge pull request #2893 from shin-/2833-run-dependencies
Bring up all dependencies when running a single service.
This commit is contained in:
commit
74dc1b1411
3 changed files with 23 additions and 1 deletions
|
|
@ -703,7 +703,7 @@ def image_type_from_opt(flag, value):
|
|||
|
||||
def run_one_off_container(container_options, project, service, options):
|
||||
if not options['--no-deps']:
|
||||
deps = service.get_linked_service_names()
|
||||
deps = service.get_dependency_names()
|
||||
if deps:
|
||||
project.up(
|
||||
service_names=deps,
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue