-
Notifications
You must be signed in to change notification settings - Fork 117
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
Buildx not work properly on Mac with Apple Silicon chip #6928
Comments
What's the outcome of the following command?:
Looks like this config folder is broken. What's the output of:
I'm not able to repro as well:
What's the output of:
Closing this one as it seems an issue with your environment. |
@crazy-max Hey, Thanks for the reaction of this issue, but i think you cannot reproduce it because you run |
I'll echo that I'm experiencing this same issue on an M2 Max Mac on macOS Ventura 13.5. A fix or guidance would be deeply appreciated, as I'm trying to get one of our legacy applications running with this, specifically with the docker-maven-plugin |
@amizurov No issue for me on M1:
What version of Docker Desktop btw? |
I believe --config defaults to ~/.docker, so that buildx is loaded from ~/.docker/cli-plugins. If you set --config=/tmp/docker, it will stop looking in ~/.docker/cli-plugins, and fall back to looking in the system directories for buildx. From your docker info, I'm guessing you only have buildx installed in ~/.docker/cli-plugins, so setting this flag breaks your env. |
Mine is 4.20.1 More output for the curious
|
Version 4.21.1 (114176)
|
I have the same setup on my MacBook |
What's the output of FWIW we are checking plugins in multiple directories: https://github.com/docker/cli/blob/e0e27724390cbce21cf6d67568972a4227b07382/cli-plugins/manager/manager_unix.go#L5-L8 In my case they are located in both |
@crazy-max On my
But on
|
Same "No such file or directory" result running that ls -al on my machine |
Thanks for your feedback. Reopening and moving this issue to docker/for-mac repo as this is linked to plugin handling on Docker Desktop. |
@crazy-max This should have the |
In case this helps anyone. I ran into this issue with these versions: Docker version 24.0.5, build ced0996 I then upgraded to the latest and greatest 4.23.0 and 24.0.6 and that still didn't help. A colleague had a setup that worked but was on an older version. One major difference was that he had this symlink (as alluded to above). |
@drcca you saved my day! |
Contributing guidelines
I've found a bug and checked that ...
Description
We use https://github.com/fabric8io/fabric8-maven-plugin to create multi-platform architecture images. And everything works correctly on Docker Desktop with Mac and Intel chip (amd64), but when we run build on Mac with Silicon chip (arm64) we got the error (125):
Also i execute the simple command (
docker --config /tmp/docker buildx
) and receive difference results.Apple Silicon:
Apple Intel:
Both devices have the same version of Docker Desktop.
Expected behaviour
No exceptions when using
buildx
, the behavior is the same for both architectures.Actual behaviour
See description
Buildx version
github.com/docker/buildx v0.10.5 86bdced7766639d56baa4c7c449a4f6468490f87
Docker info
Builders list
Configuration
Build logs
No response
Additional info
No response
The text was updated successfully, but these errors were encountered: