Docker Engine doesn't start after build latest Microsoft WSL2 kernel
Description
When i start Docker Desktop, after the build WSL2 Microsoft kernel 5.5 to the latest linux-msft-wsl-6.6.75.1, I get following message : " running engine: waiting for the Docker API: engine linux/wsl failed to run: starting WSL engine: error spotted in wslbootstrap log: "[2025-03-12T11:06:57.776897900Z][wsl-bootstrap][F] exit status 32"
Reproduce
Launch Docker Desktop
Expected behavior
Docker Desktop should run perfectly and don't fail to start
docker version
Client:
Version: 27.5.1
API version: 1.47
Go version: go1.22.11
Git commit: 9f9e405
Built: Wed Jan 22 13:41:44 2025
OS/Arch: windows/amd64
Context: desktop-linux
docker info
Client:
Version: 27.5.1
Context: desktop-linux
Debug Mode: false
Plugins:
ai: Ask Gordon - Docker Agent (Docker Inc.)
Version: v0.7.3
buildx: Docker Buildx (Docker Inc.)
Version: v0.20.1-desktop.2
compose: Docker Compose (Docker Inc.)
Version: v2.32.4-desktop.1
debug: Get a shell into any image or container (Docker Inc.)
Version: 0.0.38
desktop: Docker Desktop commands (Beta) (Docker Inc.)
Version: v0.1.4
dev: Docker Dev Environments (Docker Inc.)
Version: v0.1.2
extension: Manages Docker extensions (Docker Inc.)
Version: v0.2.27
feedback: Provide feedback, right in your terminal! (Docker Inc.)
Version: v1.0.5
init: Creates Docker-related starter files for your project (Docker Inc.)
Version: v1.4.0
sbom: View the packaged-based Software Bill Of Materials (SBOM) for an image (Anchore Inc.)
Version: 0.6.0
scout: Docker Scout (Docker Inc.)
Version: v1.16.1
Diagnostics ID
C9C18C82-A0ED-4551-97DA-FA98BCC01693/20250312111052
Additional Info
https://github.com/microsoft/WSL2-Linux-Kernel
Same issue
Same issue, it's not working after latest Windows update 😒
https://github.com/microsoft/WSL2-Linux-Kernel/releases/tag/linux-msft-wsl-6.6.75.1
Try the latest version WSL : https://github.com/microsoft/WSL/releases/tag/2.5.1
hey @valorisa can you give the step by step guide how can we intergrate into our system , this release version.
hey @valorisa can you give the step by step guide how can we intergrate into our system , this release version.
-
Open comand prompt as an admin
-
Run
wsl --update -
Close comand prompt.
-
Restart and run docker
hey @valorisa can you give the step by step guide how can we intergrate into our system , this release version.
- Open comand prompt as an admin
- Run
wsl --update- Close comand prompt.
- Restart and run docker
I had done that wsl --update but it showing 2.4.11 not the updated release version. I had extracted the file, did I have to do something more ..?
hey @valorisa can you give the step by step guide how can we intergrate into our system , this release version.
Hey @RohanMishra315
Open Windows Terminal with command: cmd.exe and into your current directory make a: wget https://github.com/microsoft/WSL/releases/download/2.5.1/wsl.2.5.1.0.x64.msi and always in the Terminal make a: msiexec.exe /package wsl.2.5.1.0.x64.msi
@valorisa
Have 2.5.1 installed. Use wsl --update --pre-release on Windows Insider.
Sadly, Docker fails to start. See the last comment in https://github.com/microsoft/WSL/issues/12711 for more details.
Diagnostic ID:A35AFAC6-713D-4217-973C-0EC45FE25DAB/20250319185854
I probably managed to pinpoint the issue (at least for Windows on Arm). The new 6.x versions of the kernel are built without ISO Disk Image Data Format support. Docker mounts CLI to WSL during the startup as an .iso file and fails due to Kernel lacking lacking ISO9660 support. Hopefully, Microsoft will rebuild the kernel in a future release.
Confirmation that it works:
Meanwhile, check my comment in the WSL thread microsoft/WSL#12711 for more details on how to identify whether the root cause is the same and build a custom Linux kernel until then.