-
Notifications
You must be signed in to change notification settings - Fork 291
Docker Desktop - WSL update failed #14022
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Comments
Hi everyone. Another diagnostics ID Workaround: More Info: Tobi |
microsoft/WSL#9157 |
Same issue here. version 4.29.0 always tries to update my wsl although it's already on the latest version when I try to do it manually.
uninstalling and reinstalling 4.28.0 works again. But I can't seem to be able to update to 4.29.0 Disgnostic ID:
|
Also happens on my end: |
Can confirm downgrading to 4.28 has fixed the issue for me too. |
Same issue as well Windows 10 |
@minhruhr @Villad-dev @bl0000 where i can get 4.28.0 installer to download, can you give me the link or attach your file installer |
@duckodei https://docs.docker.com/desktop/release-notes/ Scroll down to 4.28.0.0, click Windows. |
Same problem for me. Even though WSL is already updated to latest version. Diagnostic ID: |
Getting same error please fix this |
have this issue, can't fix it even with 4.28 ver. any ideas? |
@bl0000 I tried, but that show check sum, not any installer file to download. |
@duckodei did you click on checksum or on Windows? When you click on Windows, it directly downloads the installer. |
@sbanoeon oh thanks a lot, i clicked checksum, my mistake. |
|
I tried installing version 4.28 & 4.27.2 also but there seems to be a problem, have you encountered it? |
Seeing the same issue here. Windows 10 machines, non-admin accounts. Downgrades to 4.28 allow the engine to start again. Also, running Similar to what tjk19 suggested #14022 (comment) Diagnostic ID: 33CED035-C391-46A4-8B96-9D06B5AD557C |
Hey everyone 👋 , I'm taking a look at this issue. From the diagnostics provided, the common theme is that the non-elevated check errors out with:
This feels odd, given that in all cases I see that the elevated update completes right before. I also noticed that none of the diagnostics contained a log for Could I ask you to check your logs directory, and let me know if it's present? It would be here:
@chelpingstinetrill I will take a look at your diagnostic right now. |
@chelnak that is not present on my regular user account but is present on my admin account. |
@chelpingstinetrill Great! I can see it included in your diagnostics bundle which is really helpful. I can see that WSL gets updated successfully inside the elevated process. I have a few questions for you if that is OK.
Appreciate your time, thank you! |
@chelnak If I may answer to your questions, in my case
|
Did you install Docker Desktop while logged in as an administrator account? Did you run Docker Desktop while logged in as an administrator? Did you then log in with your non-administrator account? Does your non-administrator account have any local admin / UAC rights? |
@minhruhr @chelpingstinetrill thank you both for the responses. They will be really useful for building a repro of the issue. |
I see this message..as shown below: Docker Desktop - WSL update failed wsl update failed: update failed: updating wsl: exit code: 1: running WSL command wsl.exe C:\Windows\System32\wsl.exe --update --web-download: : exit status 1 Diagnostics ID is E4DDC3FC-415C-4FF4-9BE1-5DC1E320ADEA/20240425112407 Please help what to do |
Removing .32 because POS nothing works! Back to .28 |
Uninstalled Docker Desktop Note Diagnostics ID:
|
Was struggling with this too. What's helped is getting latest windows 10 updates. They were restricted by company's policies, manual updating helped. Then installed docker desktop 4.32 |
I think it might be related to the enabled "Legacy Console Mode". I had the same issue, once disabled it the issue disappeared. |
This is crazy, I just shutdown wsl and restart docker desktop, my docker desktop automatically update with the same issue. (Actually I turn off all docker update, so I don't know why this happen) For your reference, you need to install
Verify WSLwsl.exe --version
WSL version: 2.2.4.0
Kernel version: 5.15.153.1-2
WSLg version: 1.0.61
MSRDC version: 1.2.5326
Direct3D version: 1.611.1-81528511
DXCore version: 10.0.26091.1-240325-1447.ge-release
Windows version: 10.0.19045.4717 |
thanks a lot! I had issue id D7A0C61D-D999-464F-8D7F-B41675CCA91B/20240801182754 and now it works great |
Customized kernels can also cause this problem. I changed back to the default kernel and the problem was solved. |
This was the issue for me. Changing the kernel back to default in .wslconfig solved the issue. |
@nick-wellinghoff can you share .wslconfig file bro? |
[wsl2] if you have a line that says "kernel=..." remove it. |
The problem in my case was, that the "Host Network Service" (hns) was not running. After setting it to "Auto Delayed" is worked for me. Installing the latest version at least gave me a better error message with more details. |
struggled all night long and this solution worked for me. thank mate |
I had the same issue. Disabling "Use the WSL 2 based engine" temporarily resolved the issue, as a workaround. |
I can also confirm downloading/installing 2.3.17 fixed it for me. |
This helped me for my Windows 10 machine |
Thanks, @andylizf @nick-wellinghoff !
I removed this line and the error is gone. |
HI! In our company we do not have admin rights by default. Because of that we have a following broken flow:
TO be honest this is just simply annoying, craziest thing is that I don;'t need admin access to run this commands from CLI, moreover I'd prefer that Docker doesn't control the version of my WSL. If you need to update it - do it during installing better. Is it possible somehow to deactivate this feature? Thanks! |
It worked for me to install that update, thanks. |
Manual Update WSL help me https://github.com/microsoft/WSL/releases/tag/2.3.17 -> choose x64 or arm .msi |
Had the same problem, just entered "WSL" in the windows search bar and opened WSL. It looked like it had to make additional configurations. After that WSL was in Path and Docker (V.4.34.2) is runnning smoothly. |
For those who lost access to 4.28.0, wayback machine got your back. |
I finally found an easy solution to this, uninstall docker and delete docker folder from C:\Users{your user name}\AppData\Local\Docker delete any folder related to docker and re-install it, it runs smooth |
Diagnostic ID: |
The option that worked for me was manually run the wsl.exe --update in an admin powershell window. Docker launched fine afterwards. |
Description
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
The requested operation requires elevation.
: exit status 0xffffffff
Reproduce
Expected behavior
Docker desktop start correctly.
docker version
docker info
Diagnostics ID
38B1FB20-5B09-490A-A484-255D42B5973B/20240417053402
The text was updated successfully, but these errors were encountered: