dockerdocker-composewindows-subsystem-for-linux

WSL2 Failed install docker desktop on Windows 11


When I use the win11 version and use wsl2 to distribute Docker Desktop 4.16.3, Error prompt encountered during startup enter image description here Docker failed to initialize Docker Desktop is shutting down

Docker.Core.HttpBadResponseException: {"message":"2 errors occurred:\n\t* provisioning docker WSL distros: deploying \"docker-desktop\": importing WSL distro \"docker-desktop\": deploying WSL distro \"docker-desktop\" (\"C:\\\\Program Files\\\\Docker\\\\Docker\\\\resources\\\\wsl\\\\wsl-bootstrap.tar\" -\u003e \"C:\\\\Users\\\\15208\\\\AppData\\\\Local\\\\Docker\\\\wsl\\\\distro\"): exit status 0xffffffff\n\t* checking if isocache exists: CreateFile \\\\wsl$\\docker-desktop-data\\isocache\\: The network name cannot be found.\n\n"}

I try to change the version

Update system

set wsl default version

wsl --upate; wsl --shutdown

There is no way to solve it


Solution

  • Solve the problem by upgrading the Windows version,docker windows clients need at least 22H2 version Supports