Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

'depends_on' field in docker-compose.yml file is not honored when used with 'docker-compose bundle' to create '.dab' file. #26943

Closed
Saravana9210 opened this issue Sep 27, 2016 · 1 comment

Comments

@Saravana9210
Copy link

Description
'depends_on' field in docker-compose.yml file is not honored when used with 'docker-compose bundle' to create docker bundle (.dab file).

Steps to reproduce the issue:

  1. Define 3 services in docker-compose.yml with service2 and service3 depends on service1 (using depends_on field)
  2. Go to the directory where you have the docker-compose.yml file.
  3. Create docker bundle using 'docker-compose bundle' command (this will create a docker.dab file)
  4. Deploy the bundle using 'docker deploy docker' command

Describe the results you received:

  1. All 3 services are started
  2. But, order of starting services is random ('depends_on' field is not considered)

Describe the results you expected:

  1. service1 should be stared first

Additional information you deem important (e.g. issue happens only occasionally):
Also, pls throw some light on service registry, service discovery and communication among services. Thanks in advance !!!

Output of docker version:

(paste your output here)

Output of docker info:

(paste your output here)

Additional environment details (AWS, VirtualBox, physical, etc.):
I've 3 VMs with docker 1.12.1 installed

VM1 - swarm master
VM2 - Node1
VM3 - Node2

@dnephin dnephin added kind/enhancement Enhancements are not bugs or new features but can improve usability or performance. kind/experimental and removed kind/enhancement Enhancements are not bugs or new features but can improve usability or performance. labels Sep 27, 2016
@thaJeztah
Copy link
Member

The depends_on option is currently not supported in the compose v3 format (a discussion on this can be found in #31333), and the .dab format was experimental (and is now removed), so I'm closing this issue

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
Development

No branches or pull requests

3 participants