Skip to content
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 Desktop - Unexpected WSL error #14335

Open
rickymarnaeksibarani opened this issue Sep 27, 2024 · 6 comments
Open

Docker Desktop - Unexpected WSL error #14335

rickymarnaeksibarani opened this issue Sep 27, 2024 · 6 comments

Comments

@rickymarnaeksibarani
Copy link

Description

Either shut down WSL down with wsl --shutdown, and/or reboot your machine. You can also try reinstalling WSL and/or Docker Desktop.

Reproduce

wsl --shutdown

Expected behavior

deploying WSL2 distributions
ensuring main distro is deployed: deploying "docker-desktop": importing WSL distro "WSL2 is not supported with your current machine configuration.\r\nPlease enable the "Virtual Machine Platform" optional component and ensure virtualization is enabled in the BIOS.\r\nEnable "Virtual Machine Platform" by running: wsl.exe --install --no-distribution\r\nFor information please visit https://aka.ms/enablevirtualization\r\nError code: Wsl/Service/RegisterDistro/CreateVm/HCS/HCS_E_HYPERV_NOT_INSTALLED\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: WSL2 is not supported with your current machine configuration.
Please enable the "Virtual Machine Platform" optional component and ensure virtualization is enabled in the BIOS.
Enable "Virtual Machine Platform" by running: wsl.exe --install --no-distribution
For information please visit https://aka.ms/enablevirtualization
Error code: Wsl/Service/RegisterDistro/CreateVm/HCS/HCS_E_HYPERV_NOT_INSTALLED
: exit status 0xffffffff
checking if isocache exists: CreateFile \wsl$\docker-desktop-data\isocache: The filename, directory name, or volume label syntax is incorrect.

docker version

Docker version 27.2.0, build 3ab4256

docker info

default

Diagnostics ID

E1725BAA-8D7A-47FA-BFCC-9856CFDF4C98/20240927022929 (uploaded)

Additional Info

WhatsApp Image 2024-09-27 at 09 33 37_6931b003

@selimsyl
Copy link

selimsyl commented Sep 27, 2024

I started having same issue on windows after the update below

2024-09 Cumulative Update Preview for Windows 11 Version 23H2 for x64-based Systems (KB5043145)

Diagnostics ID: BE9AFAAF-F68B-41D0-9D12-84760E6B8740/20190905152051

@selimsyl
Copy link

Issue resolved on my side after the removal of mentioned windows update (KB5043145)

@pantharshit007
Copy link

pantharshit007 commented Sep 28, 2024

hey @selimsyl in a similar situation i tried deleting and re-installing both wsl and docker can you tell me how to do reverse the Windows update like you did.

both WSL and Windows Powershell started to act strange taking n number of minutes to load after opening

Docker only works once WSL is loaded else gives similar error

@MatthewSteeples
Copy link

This bug was the cause for me - microsoft/WSL#12022

@selimsyl
Copy link

Hi @pantharshit007 I didn't re-install WSL or docker. I only uninstalled the windows update from below option.

Screenshot 2024-09-30 074826

@pantharshit007
Copy link

Hi @pantharshit007 I didn't re-install WSL or docker. I only uninstalled the windows update from below option.

Screenshot 2024-09-30 074826

hey
I did try but it introduced new bugs like the window start menu not opening and in history, it shows already installed even though i uninstalled it just now.
I think there is an issue here where a user uninstalled and updated but it was still showing.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
Development

No branches or pull requests

6 participants
@MatthewSteeples @selimsyl @pantharshit007 @bsousaa @rickymarnaeksibarani and others