podman-desktop icon indicating copy to clipboard operation
podman-desktop copied to clipboard

Compose installation: unhelpful error message

Open sebastian-philipp opened this issue 10 months ago • 10 comments

Bug description

I got an error when installing docker-compose:

Image

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

sebastian-philipp avatar Feb 21 '25 10:02 sebastian-philipp

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

bricss avatar Feb 21 '25 12:02 bricss

right, I think there is a special case, where we don't get a good message

sebastian-pf9 avatar Feb 21 '25 13:02 sebastian-pf9

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

benoitf avatar Feb 21 '25 14:02 benoitf

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.

sebastian-philipp avatar Feb 21 '25 16:02 sebastian-philipp

~~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

benoitf avatar Feb 21 '25 17:02 benoitf

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

benoitf avatar Feb 21 '25 17:02 benoitf

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? 🤔

bricss avatar Feb 21 '25 23:02 bricss

Something went wrong while trying to update docker-compose: Error: No asset found for windows and x86_64

#11130

yume-chan avatar Feb 22 '25 07:02 yume-chan

for the assets issue you can try a pre release from the current main branch https://github.com/podman-desktop/prereleases/releases

benoitf avatar Feb 22 '25 07:02 benoitf

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 avatar Feb 24 '25 09:02 sebastian-philipp

@sebastian-philipp are you still seeing this issue?

rujutashinde avatar Jul 07 '25 21:07 rujutashinde

@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.

sebastian-philipp avatar Jul 08 '25 08:07 sebastian-philipp

Will look at this as an enhancement to display appropriate error message

rujutashinde avatar Jul 08 '25 14:07 rujutashinde