Search code examples
dockerwindows-subsystem-for-linux

Docker Desktop - WSL update failed


Currently I use Docker Desktop 4.32.0 version on Windows-10, I updated to new version, after this Docker Engine Stopped Running and gave error wsl update failed: update failed: updating wsl: exit code: 4294967295: running WSL command wsl.exe C:\WINDOWS\System32\wsl.exe --update --web-download. I tried wsl --update and wsl --update --web-download but both shows Installing: Windows Subsystem for Linux The provided package is already installed, and reinstallation of the package was blocked. Check the AppXDeployment-Server event log for details. this message in windows power shell. I downloaded msi file and executed still docker engine gives same error. I got some file permission error so updated docker desktop, but wsl 2 is not getting updated. Please anyone help me.


Solution

  • I got the solution from Docker Docs AI, it tells to install WSL v2.2.4.0 ,I installed that from it's github page, I didnt downgrade to Docker Desktop 4.29. Now in my computer Docker Desktop 4.33 works fine.