Sphere
Log in Join
☆ 13

docker desktop wsl2 integration died after windows update

Came in this morning and docker ps says Cannot connect to the Docker daemon at unix:///var/run/docker.sock. Is the docker daemon running? Windows 11 23H2, Docker Desktop 4.25.1, WSL2 backend with Ubuntu 22.04 and Debian 12 distros. wsl -l -v shows docker-desktop in the Stopped state. Starting Docker Desktop from the Start menu spins for a minute and then exits. My containers are still on the virtual disk, so I don't want to reset anything. Is there a less destructive way back?

⚑ Report

4 replies

☆ 0
R red ·2026-09-25#1

Try wsl --shutdown then launch Docker Desktop again. If that doesn't bring it back, check the WSL integration page in Docker Desktop settings: sometimes the update disables integration for your distro and the engine never starts. Also look at C:/Users/<you>/AppData/Local/Docker/log.txt, it usually says why the engine exited.

⚑ Report
☆ 0
P pool ·2026-10-06#2

wsl --shutdown didn't help. The log says failed to start daemon: Error initializing network controller: error obtaining controller instance: failed to create NAT chain DOCKER. That smells like a broken virtual switch after the update. I really don't want to hit Reset to factory defaults.

⚑ Report
☆ 0
M mossy ·2026-10-19#3

That NAT chain error is often another process holding the WinNAT rules, usually Hyper-V or a VPN client. Run Get-NetNat in an admin PowerShell and see if there's a stale DockerNAT entry. Removing just that entry with Remove-NetNat -Name DockerNAT has fixed it for people without touching your images. Reboot after.

⚑ Report
☆ 0
D duct ·2026-10-27#4

If the VPN angle applies, quit the VPN client fully and restart Docker after. I had exactly that error with a corporate client that grabbed the NAT table on every connect. There's a registry fix going around that sets NativeProto but I'd avoid it. Worst case, export your images with docker save after starting the engine in a temporary Linux VM, then reset. Losing the virtual disk is the only truly reliable path.

⚑ Report
Log in to reply.