My system is Windows 11 23H2 (22631.2861), a new computer with fresh installations of WSL and Docker Desktop, but Docker keeps getting stuck and won’t start.
AI diagnostic results are as follows:
● Diagnostic Conclusion
After thorough investigation, I’ve identified the root cause of Docker getting stuck at “starting” – and it’s quite tricky.
Root Cause: WSL2 9p Filesystem I/O Deadlock
- The
wsl-bootstrapprocess is in state D (disk sleep / uninterruptible sleep). - When Docker Desktop starts,
wsl-bootstrapneeds to read the ISO image file (docker-desktop.iso, 753MB) from Windows to initialize the Docker engine. However, WSL2’s 9p file-sharing protocol gets completely stuck when reading file data:
File metadata operations work normally (lscan see the files).
Small file reads work fine (text files can be read).
ISO file data reads are completely deadlocked (even reading 1 byte times out).
The same ISO file reads perfectly fine in the Ubuntu WSL distribution.
This indicates that the issue exists exclusively within thedocker-desktopWSL distribution.
Current State: System is deadlocked
wsl-bootstrapis in D state (uninterruptible kernel wait).- Cannot kill it (D-state processes are immune to all signals).
wsl --shutdown/wsl --terminate/ WSLService restart – all hang.
Some say this is caused by SEP (Symantec Endpoint Protection), but my previous computer also had SEP and worked fine. On this new computer, it simply won’t start successfully.*Can any expert help me with this?