-
Notifications
You must be signed in to change notification settings - Fork 2.6k
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 vs. docker compose #17051
Comments
This is affecting us too. We need to be able to use BuildKit which is now the default in docker compose v2+ and the variable For now, the workaround my colleague Joe 'big'ol brass nuts' de Ronde has created is to:
We did try setting an alias in The inspiration for this workaround: https://stackoverflow.com/questions/72099653/how-to-alias-docker-compose-to-docker-compose |
Nice workaround; however, I need to be able to switch between managed and VMSS for my pipeline, so I opt-in for adding a custom script to the "Extensions + applications" blade:
Not pretty, but at least it is compatible with that old version. |
You can also use the docker task with "login" command and then just call docker compose as usual from a script. |
This issue is stale because it has been open for 180 days with no activity. Remove the stale label or comment on the issue otherwise this will be closed in 5 days |
Let's keep this issue alive... can't we get at least a version 1 of this task with the latest docker compose? |
Any update about this issue, it blocks us |
please fix this |
The latest runner images since 1st April 2024 remove |
I looked through the code after I experience some issues on Azure Virtual Machine Scale Set; it looks like this
DockerCompose@0
need a much needed upgrade to V2+: https://docs.docker.com/compose/compose-file/compose-versioning/docker-compose is deprecated; docker compose is the "new" syntax.
Please consider a
DockerCompose@2
usingdocker compose
command instead ofdocker-compose
.https://github.com/microsoft/azure-pipelines-tasks/blob/master/Tasks/DockerComposeV0/dockercomposeconnection.ts
Its probably not as simple as changing this:
this.dockerComposePath = tl.which("docker-compose")
; tothis.dockerComposePath = tl.which("docker compose");
.The text was updated successfully, but these errors were encountered: