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
docker-compose complains about invalid compose file #527
Comments
Hi @hindsight20-20 Can you try with an array syntax? Like the first example here: https://docs.docker.com/compose/compose-file/#/dependson |
Hi @dgageot,
or
but not
One thing I'm not sure of: with V3 am I supposed to always use |
@hindsight20-20 Could you create an issue on docker/compose and close the issue here? This is not something we can fix on the Docker for Windows side. |
@hindsight20-20, you can use either |
this is already tracked as docker/compose#4305 so closing this issue |
Closed issues are locked after 30 days of inactivity. If you have found a problem that seems similar to this, please open a new issue. Send feedback to Docker Community Slack channels #docker-for-mac or #docker-for-windows. |
Expected behavior
In compose file:
docker-compose up
should start services in order and start second only if first is healthy. (see compose file reference and Dockerfile reference)Actual behavior
when running
docker-compose up
compose complains that depends_on contains an invalid value. the contents of depends_on should be an arraycompose is happily processing the file given above when setting the version to 2.1
Information
The text was updated successfully, but these errors were encountered: