Compose installation: unhelpful error message
Bug description
I got an error when installing docker-compose:
Unfortunately it does not really point me to any actionable item:
Unable to install docker-compose binary: Command execution failed with exit code 1: Command execution failed with exit code 1
- Which command failed?
- Was there stderr output?
- Why does it say "failed with exit code 1" twice?
(I'm not super interested in resolving this error, as I can probably just run brew install docker-compose or something else)
Operating system
macos 15.1
Installation Method
Brew (macOS)
Version
1.15.0
I'ma getting the following message in podman-desktop v1.16.2:
Something went wrong while trying to update docker-compose: Error: No asset found for windows and x86_64
right, I think there is a special case, where we don't get a good message
hello, could you please provide the content of
ls -la /usr/local/bin/doc*
Do you have arm or intel chipset on your mac ?
as a workaround as it seems you have brew, you could try: brew install docker-compose
Apps on Mac just don't clean up after themselves. It's a mess.
➜ cloud-extensions git:(sw/helm-push-oci) ✗ cd
➜ ~ ls -la /usr/local/bin/doc*
lrwxr-xr-x 1 root wheel 53 7 Jan 10:49 /usr/local/bin/docker -> /Applications/OrbStack.app/Contents/MacOS/xbin/docker
lrwxr-xr-x 1 root wheel 61 7 Jan 10:49 /usr/local/bin/docker-compose -> /Applications/OrbStack.app/Contents/MacOS/xbin/docker-compose
lrwxr-xr-x 1 root wheel 76 7 Jan 10:49 /usr/local/bin/docker-credential-osxkeychain -> /Applications/OrbStack.app/Contents/MacOS/xbin/docker-credential-osxkeychain
➜ ~ ll /Applications/OrbStack.app/Contents/MacOS/xbin/docker-compose
ls: /Applications/OrbStack.app/Contents/MacOS/xbin/docker-compose: No such file or directory
and yes, I'm now happily using brew install podman-compose. This issue is more about the error message in the UI, and less about the actual issue.
~~ok thanks, does these links were working or it was pointing to non-existing directories/files ?~~
you commented that yes the files were no longer there
I think I opened https://github.com/podman-desktop/podman-desktop/issues/9620 but was flagged as reproducible but I guess it's still something we're facing/can be reproduced
Something went wrong while trying to update docker-compose: Error: No asset found for windows and x86_64
Does anyone know where to find/fix the asset? 🤔
Something went wrong while trying to update docker-compose: Error: No asset found for windows and x86_64
#11130
for the assets issue you can try a pre release from the current main branch https://github.com/podman-desktop/prereleases/releases
I think I opened #9620 but was flagged as reproducible but I guess it's still something we're facing/can be reproduced
Yeah, that look pretty much identical to my error message.
@sebastian-philipp are you still seeing this issue?
@sebastian-philipp are you still seeing this issue?
No, I worked around the issue by installing compose in a different way. As I said in https://github.com/podman-desktop/podman-desktop/issues/11294#issue-2868606606 :
(I'm not super interested in resolving this error, as I can probably just run brew install docker-compose or something else)
This bug is more for you to give others a more helpful error.
Will look at this as an enhancement to display appropriate error message