-
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
Docker Desktop - Unexpected WSL error #14097
Labels
Comments
Can you make sure WSL2 is enabled? You can find documentation on how to verify and how to enable it here. |
First, please check if you have it on your BIOS, and if all the features needed (Hyper-V, Virtual Machine Platform, Windows Hypervisor Platform, and Windows Subsystem for Linux) in optionalfeatures.exe are checked. If it's not the problem, you probably need to try the answer at microsoft/WSL#7068 (comment). |
|
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Description
now, I'm using windows 11.
During install docker on my system, I faced this issues:
An unexpected error occurred while executing a WSL command.
deploying WSL2 distributions
provisioning docker WSL distros: 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 network name cannot be found.
Docker version 26.1.1, build 4cf5afa
My diagnostics ID : C32C7D3E-3AA0-4C32-805A-D139FE428454/20240527085914
Reproduce
No response
Expected behavior
it was at the start page of docker
docker version
docker info
Diagnostics ID
C32C7D3E-3AA0-4C32-805A-D139FE428454/20240527085914
Additional Info
No response
The text was updated successfully, but these errors were encountered: