Open staaky opened 4 months ago
Same issue, I couldn't find any related info, seems like it's not related to engine startup itself since dockerd logs are not informative, I suppose this error from docker backend is related to the issue. com.docker.backend.exe.log
I see this issue is very recent, I have the same problem at the moment, last friday it all still worked, not sure what changed, could have been the update for wsl as I have the same version as the first message describes.
Note: For anyone who is just looking for a workaround, downgrading WSL to the previous version works. see wsl-2.2.4
Have this same issue, switching to the older version of wsl as YouGina suggested worked...
An easy fix was to take the latest update for wsl. I did this by using wsl --update
in my cmd. Since I was on the latest update and this didn't resolve the issue, I opted to use a pre-release version. This command is wsl --update --pre-release
. I then had to accept the admin prompt, wait a moment, and docker worked.
Additionally, DO NOT press factory reset as this will wipe all user data in docker. Volumes, containers, images, and any application settings.
I lost a lot of data due to this. 😭
May have been fixed by the 2.3.13 release
Description
Docker Desktop 4.32.0 is stuck on
Starting the Docker Engine...
. Manual restart showsDocker Engine stopped
with an error message:4.28.0 used to work for me but now also fails to start, it gives a different error:
It might be caused by Windows 11 auto-updating WSL to 2.3.11.0, see https://github.com/docker/for-win/issues/14202#issuecomment-2240092670.
Reproduce
Starting the Docker Engine...
Unable to calculate image disk size
error messageExpected behavior
Docker Desktop works with WSL 2.3.11.0
docker version
docker info
Diagnostics ID
911B2ADB-E636-4057-8AF7-CB26365AD897/20240720132622
Additional Info
Also uploaded 4.28.0 Diagnostics, ID: 911B2ADB-E636-4057-8AF7-CB26365AD897/20240720143219
Using Windows 11 Version 23H2 (OS Build 22631.3880)