docker / for-win

Bug reports for Docker Desktop for Windows
https://www.docker.com/products/docker#/windows
1.85k stars 284 forks source link

Wsl/Service/WSL_E_DISTRO_NOT_FOUND #13128

Open Niks218 opened 1 year ago

Niks218 commented 1 year ago

Actual behavior

Can't start Docker Desktop for Windows with error code Wsl/Service/WSL_E_DISTRO_NOT_FOUND after updating to last version 4.15.0 (93002).

Expected behavior

Be able to use Docker Desktop.

Information

I have WSL2 distros running fine. Tried to reinstall Docker Desktop. Output of wsl --list shows no docker-desktop distro at all, only docker-desktop-data.

Output of & "C:\Program Files\Docker\Docker\resources\com.docker.diagnose.exe" check

Failing with

1 : The test: are WSL distros installed?
    Failed with: WSL Distribution docker-desktop is missing

Steps to reproduce the behavior

  1. Start Docker Desktop
Niks218 commented 1 year ago

Running wsl -l -v shows that docker-desktop distro is actually in uninstalling state

Niks218 commented 1 year ago

Managed to solve it with deleting stuck docker-desktop distro using wsl --unregister docker-desktop

apurvshah commented 1 year ago

I am also facing the same issue. So, after using wsl --unregister docker-desktop command, is it require to reinstall Docker Desktop again? image

cforce commented 9 months ago

For me it it still not solved

C:\Users\WALLWIF>wsl -l -v NAME STATE VERSION