-
Notifications
You must be signed in to change notification settings - Fork 2k
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 stack deploy with error 'unsupported Compose file version: 1.0' #2475
Comments
Sounds to me, like a misconfigured compose file, but it's hard to tell without more details. |
Yes, without more details, I don't see anything actionable here. Let me close this one |
Using the latest docker (version 20.10.5, build 55c4c88) and docker-compose (version 1.29.1) a stack deployment complains if there is no version number in the yaml (complains of version 1), but doesn't recognize the depends_on conditions as defined in the latest compose spec if the version is 3.8. |
This issue is related to #2527. @ewerton-silva00 It seems like you have the same process that I do, which lead to me opening my own issue #9133. |
I think #3257 will fix this case (it doesn't switch to the compose-spec, but will work with compose-files that use options supported by v3) |
HI @thaJeztah, Thanks for the update. Based on the title, it might do. I'll keep an eye on that Pull Request. |
Description
Error executing the command below:
Result of the above command:
Output
docker version
:Output
docker info
:Compose file version:
3.8
Additional environment details:
The text was updated successfully, but these errors were encountered: