WSL Update Failed

When I try to launch my docker the issue above appears. If I close the error pop-up, “Docker Engine Stopped” window appears.

Have you actually tried what the popup window suggests?

  1. Execute in a Windows terminal: wsl --update
  2. Collecting diagnostic data and submitting it?

Docker Desktop on Windows depends on WSL1/2. Whenever WSL1/2 is broken, Docker Desktop is affected, as it depends on WSL1/2 to run its backend in an utility vm

1 Like

Your WSL2 version is outdated. Download the latest x64 release from https://github.com/microsoft/WSL/releases and perform a manual installation.

1 Like

I am sorta lost in that link where to download the latest version. is it possible if you can elaborate it for me?

Scroll down to the latest version (not pre-release). Click on the “msixbundle” file under “Assets” or the file with the “msi” extension that matches the architecture of your Windows. Either the file that contains “x64” (more common) or “ARM64”.

Hi I tried clicking “wsl.2.2.4.0.x64.msi” but then a page opened

Click this long link

This site can’t provide a secure connection
objects.githubusercontent.com sent an invalid response.
Try running Windows Network Diagnostics.
ERR_SSL_PROTOCOL_ERROR

How to fix this?

It was either a teemporary issue on GitHub or there is something in your network. It doesn’T seem to be the same issue, but there were SSL errors before on that domain

The certificate of the domain was issued on last Saturday. If a proxwas not reloaded to use the new cert or some reloading process was in progress at the time you tried, that could made the downloading fail.

Either way, if you still experience the issue, you could ask a network administrator if you were in a corporate network or open an issue on GitHub. Since it works for me, I don’t think it is a GitHub issue either unless the response is different based on where you are from.

I recently updated docker desktop to the latest version and now it won’t start. it gets in a loop trying to do wsl-update. I have version 2.2.4.0 of wsl and I’m using Windows 11 (upgraded from windows 10).

I tried installing a pre-release wsl version but that failed. I sent in the bug report if that helps.

1 Like

Try installing WSL using
wsl --install

Check installation status with
wsl --status

Then try opening Docker.