-
Notifications
You must be signed in to change notification settings - Fork 473
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: failed to solve: process "/bin/sh #1986
Comments
Same here. With version 0.11.2 I started seeing a bunch of |
I tried 0.11.0 and 0.10.5 but i still have the same problem. I tried to recreate the buildx builder on 0.10.5, but didn't work. Could it be a problem with buildkit ? I can't find a way to pin the buildkit version in buildx though. |
Looks like you forgot to install emulators: https://docs.docker.com/build/building/multi-platform/
|
I will give it a spin, but the issue I had also happened on github actions with docker setup buildx Also it used to work a few weeks ago. |
Probably also forgot to add https://github.com/docker/setup-qemu-action
Let us know thanks |
it doesn't work, i still have the same issue |
Oh actually the error is slightly different:
|
This looks related to abiosoft/colima#720 as you're using colima. |
thanks, i will have a look. However i also have the issue on Github Actions: https://github.com/gotson/komga/actions/runs/5746101884/job/15575224773 I did setup QEMU and buildx using the docker actions, and the failure happens during the JReleaser full release step. |
Ah I see the error in https://github.com/gotson/komga/actions/runs/5746101884/job/15575224773#step:11:577 But doesn't look like this gradle action propagates errors properly to the workflow. Also I don't see what gradle invokes as build command. I guess it just invokes |
that's by design with JReleaser, i don't want the whole workflow to fail when docker fails to build/push Here is the log of what command was invoked:
|
Logs look truncated. Would need full logs (before |
unfortunately that's all JReleaser outputs, here is the full trace.log but it doesn't show more on the execution of the external docker command, probably because of the |
I am reproducing on another Macbook which has Docker Desktop installed. Here is the log from I also attach some details for this machine: Docker version:
docker buildx version:
docker buildx ls
|
Doesn't seem to be the same issue:
|
This docker file works perfectly fine with |
I have the same issue with a M2 |
Same issue with M1 Mac confirmed. Are you using colima @JorTurFer ? There is issue related open in Issue thread is here: abiosoft/colima#720 |
If you are on docker buildx create \
--name fixed_builder \
--driver-opt 'image=moby/buildkit:v0.12.1-rootless' \
--bootstrap --use Before running the above command, can remove the older buildx runners with Solution from here: |
Yes, I do use colima. Thanks for the workaround, I really appreciated it 🙇 |
I had the same issue with M1 Mac and this one solved my problem! Thanks! |
Hi - I'm running into this issue right now, trying to only build it with Github Actions (ubuntu-latest). It was working last year. I updated the QEMU and all the other actions to the latest, but it's still not working. Not using colima or anything like that, and none of the fixes proposed in this thread have worked. Specifically, failing with
Thanks in advance. |
We had same issue on Windows10 + WSL(Ubuntu22.04) and this works. Thanks! |
I have the same problem. And change first string in your docker file: That problem comes from the restrictions of your virtual mashine |
might also happen if you try to install without
|
Contributing guidelines
I've found a bug and checked that ...
Description
Hi,
i am getting an error with
buildx
only. When running the same Dockerfile withdocker build
it works fine.Expected behaviour
The image should build.
Actual behaviour
The image doesn't build.
Buildx version
github.com/docker/buildx v0.11.2 9872040
Docker info
Builders list
Configuration
Build logs
The text was updated successfully, but these errors were encountered: