Open paukart opened 7 months ago
In addition, automatic updates are disabled by group policy in our organization. I think the error occurs because of this.
~~Same here, I also tried to execute that command in cmd, but argument "--web-download" not exists for my wsl (I use windows 10 btw). And "wsl --update" says no new version is found~~ UPD: ok the problem for me was that my pc was not automatically getting Windows updates, after updating manually to 22H2 i was able to run "wsl --update --web-download" and update docker
Same issue, tried rolling back to older version but now docker desktop is not doing anything at all anymore. No logs, no window opening. I tried completely reinstalling multiple times, including WSL2 & Ubuntu. It seems like it is not installing the WSL2 components as a wsl -l
is only listing ubuntu but not the docker backends anymore.
brand new windows 11 build, installed wsl2, get this error when installing docker desktop. Can launch a terminal with Debian that is set to use wsl2, not matter how I click through the docker desktop startup it fails with the above error message.
Had a few issues with this myself, I had to manually update the wsl kernel via these https://github.com/microsoft/WSL/issues/5650#issuecomment-765825503 instructions (you may need to also update wsl itself along with the kernel)
Had a few issues with this myself, I had to manually update the wsl kernel via these microsoft/WSL#5650 (comment) instructions (you may need to also update wsl itself along with the kernel)
that did it for me, appreciate it, kind internet stranger
My docker updated from 4.25.1 to 4.25.2 last night and all except 1 of my containers ports weren't binding, running wsl --update --web-download
and then rebooting the Windows host fixed it, thanks!
I have had a same issue. I resolved it by two steps:
wsl --set-default-version 2
I have same problem, This command is invalid for wsl2, --web-download not found
wsl --status default version: 2 core version 5.10.102.1. with ubuntu 20.04LTS
OS: Windows 10 21H2, installed latest updates. Rebooted many times.
It does not works with Docker desktop 4.26.1
4.25.0 release notes: "Docker Desktop now detects if a WSL version is out of date. If an out dated version of WSL is detected, you can allow Docker Desktop to automatically update the installation or you can manually update WSL outside of Docker Desktop." It seems that problem with incorrect WSL version detection.
I am new and have not used Docker previously. I installed it for the first time, and its installation was successful. But I couldn't start and run.
@ttadesse627
Docker Windows client has been broken since 4.25.0 version. Try 4.24.2 version.
I solved this by using the command wsl --update
.
Note: Powershell must opened with run as adminstrator
@ttadesse627
Docker Windows client has been broken since 4.25.0 version. Try 4.24.2 version.
4.24.2 version works for me. thanks!
@sergejasadchij
try 4.27.2 as well. It works for me now
I solved this by using the command wsl --install --web-download
Description
After updating to 4.25, Docker Desktop stops starting and gives the error "Updating wsl: update failed: wsl.exe --update --web-download not supported". None of the above solutions help, WSL is updated to the latest version on my PC.
Reproduce
Expected behavior
Docker Desktop is up and running.
docker version
docker info
Diagnostics ID
F775EEF3-961F-49C7-A14F-F3C0B8A555D4/20231122052334
Additional Info
Downgrade to 4.24 works fine for me