-
Notifications
You must be signed in to change notification settings - Fork 241
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
Error using docker-compose 2.9.0 #883
Comments
Can you tell me which client and Dockerfile this is, so I can test it? And thanks for the report! |
In my env file i have
|
Those build targets are only used with source builds. I've successfully tested this with compose 1.9.2 on Ubuntu. On Debian 11 it's compose plugin 2.6.0 as brought in by docker-ce. Sounds like compose plugin 2.9.0 breaks this, which isn't great. This is what should happen, as seen by
OK so this is a deliberate change in v2. Doubling the |
Single quotes do the trick. Please test again on the |
After upgrading to docker-compose 2.9.0, the following error is encountered
Version 2.6.1 doesn't have this problem, so that version can be used as a workaround. Perhaps the script could detect the docker version used and report an error for version >= 2.7? Or the format of the dockerfile could be changed...
Related: docker-archive/compose-cli#1896, docker/compose#9704
The text was updated successfully, but these errors were encountered: