docker / for-win

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

Docker Desktop - WSL update failed #14466

Open ElliotPi opened 5 days ago

ElliotPi commented 5 days ago

Description

This is the first time I download Docker Desktop and it happens

Error message: wsl update failed: update failed: updating wsl: exit code: 4294967295: running WSL command wsl.exe C:\Windows\System32\wsl.exe --update --web-download: Downloading: Windows Subsystem for Linux Installing: Windows Subsystem for Linux Element not found. : exit status 0xffffffff

Screenshot

Image

Reproduce

Run Docker Desktop

Expected behavior

Open Docker Desktop

docker version

Latest version as of 12/4/2024

docker info

N/A

Diagnostics ID

5FEBAFDA-8DD2-44A2-BA14-CC97D4ABDA06/20241204202220

Additional Info

No response

streich commented 5 days ago

I had a similar problem with upgrading just now.
D2FA8A54-8CF4-4989-B5DB-6CDDCB568B64/20241204205254

Ended up having to reset to factory defaults, losing all my existing containers and images.

sudarakas commented 20 hours ago

Update WSL manually,

wsl --update --web-download