-
Notifications
You must be signed in to change notification settings - Fork 4.9k
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 run error 'exec format error' on Apple silicon M2 on docker desktop 4.27.2 #18217
Comments
Hey @biscout42 , |
Hey @ofirbe , is it kinda chicken and egg problem? I mean: where community folks could rise an issue to make DD and minikube work happy together ❤️ ? I mean DD folks say it is minikube issue, and here I hear opposite. Please, advice. |
The reset of binfmt_misc is a minikube problem. It originated in ubuntu, but was inherited by kicbase. It is not Dockers issue, just that their VM is hosting the shared kernel (problem does not occur with VM driver) |
Also, it has been fixed since |
Ough, that explains why Which |
I don't know about any fixes in the latest version, but this issue is still happening on Apple M1 Pro, macOS 14.4 |
The latest release is from November. 🤷🏻♂️ |
This beta release still has the issue (if you mentioned this release as a fix). PFA screenshot showing the issue in action. |
same error
|
I've the same issue after installing the 1.33.0-beta.0 release via homebrew. I've previously removed the old minikube cluster and removed the package. Do we have to reset the docker desktop vm as well for this to work? (Using Docker 4.29.0) Feels like minikube trying to play fetch with docker desktop release now 😄 |
I don't seem to be able to downgrade my way out of this. I've tried going back to 4.26.1 as suggested by @ofirbe, but I still keep getting the error. Is there a formula for Minikube/Docker Desktop that's known to work? |
There is, but it involves a The details are here: docker/for-mac#7168 (comment) The commands that help me overcome this are:
|
In our team, the v1.33.0-beta.0 Release has fixed the exec format error with the newer kicbase image. However, an existing minikube cluster needs to be deleted and recreated after upgrading minikube. |
The newer base-image seems to have done the trick. Thank you very much. |
I've just more or less tried what @adityasamant25 did #18217 (comment). Previous attempts didn't work for me since i never reset my docker system, which seems to also reset the As of today a clean
works again as intended. |
I encountered this error while running |
I would close it, because it works 🎉 . Thanks the the team. Verified with
To refresh system please use suggestion from @adityasamant25 |
What Happened?
I use Mac M2 Pro, MacOS Sonoma 14.3.1, Docker Desktop 4.27.2 with Rosetta enabled.
leads to the error
Same happens with
registry-creds
addon, which is also available only foramd64
If I remove minikube via
brew remove minikube
and clean dockerdocker system prune -a
, following command works:Error started after updating Docker Desktop to version 4.27.2. While investigation original issue in docker desktop we found it is related to minikube.
How-to reproduce:
4.27.2 (137060)
docker run --platform linux/amd64 -it ubuntu:latest bash
Attach the log file
Operating System
macOS (Default)
Driver
Docker
The text was updated successfully, but these errors were encountered: