on wsl2, minikube deleted the folder and files in /proc/sys/fs/binfmt_misc/WSLInterop, caused the cannot run windows APP in wsl2 #17756
Labels
co/docker-driver
Issues related to kubernetes in container
lifecycle/stale
Denotes an issue or PR has remained open with no activity and has become stale.
os/wsl-windows
microsoft wsl related issues
triage/duplicate
Indicates an issue is a duplicate of other open issue.
What Happened?
on wsl2, minikube deleted the folder and files in /proc/sys/fs/binfmt_misc/WSLInterop, caused the wsl2 cannot run windows APP
Attach the log file
no logs. reproduce step:
$ cat /proc/sys/fs/binfmt_misc/WSLInterop
enabled
interpreter /init
flags: PF
offset 0
magic 4d5a
the result will be the following:
cat: /proc/sys/fs/binfmt_misc/WSLInterop: No such file or directory
this will cause my cmd in wsl2 "/mnt/c/windows/explorer.exe" out the following error:
"-bash: /mnt/c/windows/explorer.exe: cannot execute binary file: Exec format error"
Operating System
Ubuntu
Driver
Docker
The text was updated successfully, but these errors were encountered: