Docker Desktop - Windows 11 - Unexpected WSL error An unexpected error occurred while executing a WSL command.
I'm having trouble with Docker Desktop on my Windows 11 system. I get an Unexpected WSL error when I try to run Docker.
I have attached a screenshot showing the error message after launching the Docker application for more context.
Also, the error message is as follows:
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.
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.
