-
Notifications
You must be signed in to change notification settings - Fork 288
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
is not a valid Win32 application #14086
Comments
According to the diagnostic, it's an issue with WSL2. I found the exact same error message as microsoft/WSL#8316. |
Thank you for the info. I checked the service and it was running. So I reset it and restarted the cpu. I don't know that it had anything to do with this, but now Docker Desktop isn't crashing, it is now hanging on startup. It just continues to say "Starting the Docker Engine". Then again I have had a few more windows updated since. I guess that is an improvement? |
Well it took about 15 minutes for this to pop up. Virtual Machine Platform is not enabled. Enable it using the following PowerShell script (in an administrative PowerShell) and then restart your computer before using Docker Desktop: querying the Win32OptionalFeature class over WMI: Exception occurred. (Call cancelled ) |
I'm back to...
|
I had this error until I enabled the virtualization option in bios . try to restart and check in the bios for the virtualization option. Try to enable it. |
I don't see a virtualization option in my bios? Also, this seems to have started with a Windows update, which I am fairly certain didn't touch my bios. |
I'm getting the following error when I try to start Docker Desktop for Windows.
But that is not the correct class name. The name should be I have tried installing Docker Desktop. I am running Docker Desktop v4.32.0 on Windows 11 23H2 on a Surface Book 3.
|
My issue was finally resolved using the info in this thread. |
Description
deploying WSL2 distributions
provisioning docker WSL distros: ensuring main distro is deployed: deploying "docker-desktop": importing WSL distro "%1 is not a valid Win32 application. \r\nError code: Wsl/Service/RegisterDistro/CreateVm/HCS/0x800700c1\r\n" output="docker-desktop": exit code: 4294967295: running WSL command wsl.exe C:\WINDOWS\System32\wsl.exe --import docker-desktop \AppData\Local\Docker\wsl\main C:\Program Files\Docker\Docker\resources\wsl\wsl-bootstrap.tar --version 2: %1 is not a valid Win32 application.
Error code: Wsl/Service/RegisterDistro/CreateVm/HCS/0x800700c1
: exit status 0xffffffff
checking if isocache exists: CreateFile \wsl$\docker-desktop-data\isocache: The network name cannot be found.
Reproduce
docker --run
Expected behavior
It should run and not close.
docker version
docker info
Diagnostics ID
726D93F8-984A-49B4-9D84-58D97BFF1128\20240521155702.zip.
Additional Info
I think a Windows update is responsible for breaking the Docker Desktop system. I've been using it for months and suddenly it breaks.
Unfortunately I have tried many of the fixes for various issue found here. I think this started as a WSL deploy error. I didn't understand what I was looking at until after making many attempted fixes. Even uninstalling WSL and Docker Desktop didn't fix, it left me here. I'm out of ideas. Docker --info says unknown flag. My system is Win 10/64. I'm out of ideas.
The text was updated successfully, but these errors were encountered: