You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
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:
Define 3 services in docker-compose.yml with service2 and service3 depends on service1 (using depends_on field)
Go to the directory where you have the docker-compose.yml file.
Create docker bundle using 'docker-compose bundle' command (this will create a docker.dab file)
Deploy the bundle using 'docker deploy docker' command
Describe the results you received:
All 3 services are started
But, order of starting services is random ('depends_on' field is not considered)
Describe the results you expected:
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 !!!
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
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:
Describe the results you received:
Describe the results you expected:
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
:Output of
docker info
:Additional environment details (AWS, VirtualBox, physical, etc.):
I've 3 VMs with docker 1.12.1 installed
VM1 - swarm master
VM2 - Node1
VM3 - Node2
The text was updated successfully, but these errors were encountered: