-
Notifications
You must be signed in to change notification settings - Fork 190
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
undocumented docker compose V2 requirement #170
Comments
@WadeBarnes is this an intentional breaking change? |
For me the changes work with docker-compose 1.29.2 and the experimental docker-compose V2. What version are you running and what errors are you seeing? |
I tested with docker-compose 1.29.2, but FYI I had to delete my old docker images before running |
We also have tagged releases now, so you could checkout |
@Moopli, Regardless, let me know the behaviour you are seeing and I might be able to add support for the old and new command syntax. |
Thanks guys, I can work with
And this seems to manifest as a result of I suppose if you want to gracefully fallback to using docker-compose, when |
- Dynamically detect the version of docker compose and adjust the calling syntax appropriately. - resolves bcgov#170 Signed-off-by: Wade Barnes <wade@neoterictech.ca>
I'm running into the same issue as @Moopli
Setup:
Problem: Lines 28 to 30 in 25a64cc
The command
And it seems to simply invoke the To reproduce :
But
fails with the Solution: Simply remove the Line 30 in 25a64cc
|
I am able to reproduce the issue reported by @xoryouyou, by upgrading Docker so Docker Compose is v2.1.1. Proper parsing of the The other workaround, that I use, is to turn off Use Docker Compose V2 in General Settings. I'll have a look into this a bit more to see if there is anything we can do other than work around the issue, but this is looking like a bug in |
I have a workaround - that worked for me. |
Problem reproduced with docker version Having problems to run |
Thanks @WadeBarnes. I was doing the tests in an Ubuntu 18:04 machine. It seems that docker-desktop is not fully supported, so I ended up testing it in play-with-docker. |
- Dynamically detect the version of docker compose and adjust the calling syntax appropriately. - resolves bcgov#170 Signed-off-by: Wade Barnes <wade@neoterictech.ca>
This recent commit introduces a dependency on the docker compose V2 plugin, which is as-yet in beta and not distributed to all clients, eg, linux docker command lines, as are common on dev machines (like mine) and in CI environments.
The text was updated successfully, but these errors were encountered: