-
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
Minikube on WSL causes Exec Format Error #18484
Comments
Sounds like the same |
@afbjorklund agree, it's the same. |
You can try the newer images, to see if it fixes the issue (or list binfmt misc, to verify it's the same) But it seems you are trying to run Windows binaries in Linux, with wine or whatever |
Got same issue with Ubuntu 20.04.4 LTS, minikube v1.32.0 and Docker version 25.0.3, build 4debf41 |
@Sefi4 can you plz try minikube 1.33.0beta we merged a PR that apparantly fixed an issue with binfmt plz go here and select Beta and choose your OS |
Thanks for the suggestion @medyagh Unfraternally it didn't help :( minikube start 🔗 Configuring bridge CNI (Container Networking Interface) ...
|
Any previously existing rules would need to be restored, either manually or through rebooting (the Linux) |
I am working a dev container (Docker Desktop +WSL), once I run minikube start (from WSL, or even from the dev container), the docker credential helper will be broken on WSL. The error is similar with this issue: docker logout Restart WSL can fix it until I start minikube |
The Kubernetes project currently lacks enough contributors to adequately respond to all issues. This bot triages un-triaged issues according to the following rules:
You can:
Please send feedback to sig-contributor-experience at kubernetes/community. /lifecycle stale |
The Kubernetes project currently lacks enough active contributors to adequately respond to all issues. This bot triages un-triaged issues according to the following rules:
You can:
Please send feedback to sig-contributor-experience at kubernetes/community. /lifecycle rotten |
The Kubernetes project currently lacks enough active contributors to adequately respond to all issues and PRs. This bot triages issues according to the following rules:
You can:
Please send feedback to sig-contributor-experience at kubernetes/community. /close not-planned |
@k8s-triage-robot: Closing this issue, marking it as "Not Planned". In response to this:
Instructions for interacting with me using PR comments are available here. If you have questions or suggestions related to my behavior, please file an issue against the kubernetes-sigs/prow repository. |
What Happened?
Opening VS code on WSL running
code
works fine.Then run:
minikube start
Afterward, try to open VS code again using:
code
causes:/mnt/c/Users/<username>/AppData/Local/Programs/Microsoft VS Code/bin/code: 61: /mnt/c/Users/<username>/AppData/Local/Programs/Microsoft VS Code/Code.exe: Exec format error
I think that's the same issue as:
#17700
but I'm still experiencing it (there wasn't a release yet)?
I'm using minikube v1.32.0 on WSL Ubuntu 22.04 (amd64) with docker desktop v4.28.0
Attach the log file
logs.txt
Operating System
Ubuntu
Driver
Docker
The text was updated successfully, but these errors were encountered: