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 config's "depends_on" does not comply with docker stack deploy since its no longer a YAML list #8287
Comments
Actually does swarm care about depends_on? I may get rid of that but this may be a glitch for swarm project then |
|
This issue has been automatically marked as stale because it has not had recent activity. It will be closed if no further activity occurs. Thank you for your contributions. |
still not fixed |
This issue has been automatically marked as not stale anymore due to the recent activity. |
docker stack deploy doesn't conform to the compose specification, nothing we can do within compose project to fix this. Also, why do you need to pre-process your compose file with |
|
Simply put I have newest docker & docker-compose running on Ubuntu 18.04
Because of some incompatibilities or other quirks I mostly used following command to generate a stack file for Docker Swarm
docker-compose -f docker-compose.stack.yml config > stack.yml && docker stack deploy -c stack.yml foo && rm stack.yml
This will no longer work since depends_on has changed from list to ie.
I guess I will have to downgrade docker-compose version
The text was updated successfully, but these errors were encountered: