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

Fix depends_on in Compose file v3 reference #2278

Merged
merged 3 commits into from Mar 15, 2017

Conversation

dnephin
Copy link
Contributor

@dnephin dnephin commented Mar 13, 2017

vHanda and others added 2 commits March 13, 2017 11:25
Swarmkit does not seem to have the concept of starting services in a particular order.

Tested with docker 1.13.1. Also, `docker-compose bundle` warns us about depends_on being unsupported.
Signed-off-by: Daniel Nephin <dnephin@gmail.com>
A healthcheck indicates you want a dependency to wait
for another container to be "healthy" (i.e. its healthcheck advertises a
successful state) before starting.
> **NOTE:** version 3 no longer supports the `condition` form of `depends_on`

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Copy link
Contributor Author

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

I disagree. That section is for fields that have been removed entirely, because there is no where else to document them. In this case the field still exists, but it only supports the "short form". I think users would expect to see this documented in the field section.

@mdlinville
Copy link

I just committed a change that combined the 3(!) admonitions into a single one.

@mdlinville mdlinville merged commit 37333c8 into docker:master Mar 15, 2017
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

None yet

4 participants