docker / for-win

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

Docker Desktop - Unexpected WSL error #14157

Open moayadmgh opened 5 months ago

moayadmgh commented 5 months ago

Description

I was running a docker compose command and terminated it in the middle of its process.

Then I got this error

image

Tried the command wsl --shutdown but it still did not work

Reproduce

Starting the docker app

Expected behavior

No response

docker version

Docker Engine
v26.1.4

Docker Version
Docker Desktop 4.31.1 (153621)

docker info

Not able to do that as docker cannot run

Diagnostics ID

026E09DF-659E-4A1C-87DD-64EDD6C642D6/20240625183828

Additional Info

No response

moayadmgh commented 5 months ago

It worked after running this command

wsl.exe --unregister docker-desktop

But what does it do? And will this cause any issues for me?

DanielSantDev commented 5 months ago

I was dealing with the same problem.

Try to check if u installed the WSL 2 properly.

shell wsl --list --verbose

then wsl.exe --install --no-distribution

MS-Official commented 4 months ago

error

I got this error