for-win icon indicating copy to clipboard operation
for-win copied to clipboard

Docker desktop stuck at "Docker engine is starting"

Open rassasamine opened this issue 5 years ago • 7 comments

  • [x] I have tried with the latest version of Docker Desktop
  • [x] I have tried disabling enabled experimental features
  • [x] I have uploaded Diagnostics
  • Diagnostics ID: F765CB11-D57A-43BF-A758-CCB88C58A2C0/20211115112034

Actual behavior

Docker desktop stuck at "Docker engine is starting".

Screenshot 2021-11-15 123901 Screenshot 2021-11-15 123712 Screenshot 2021-11-15 123746

Expected behavior

Docker should start successfully.

Information

  • Is it reproducible? not sure.
  • Is the problem new? yes.
  • Did the problem appear with an update? yes, after windows latest update.
  • Windows Version: windows 11 pro version 21H2 (build 22000.318)
  • Docker Desktop Version: 4.2.0
  • WSL2 or Hyper-V backend? WSL2
  • Are you running inside a virtualized Windows e.g. on a cloud server or a VM: No

Steps to reproduce the behavior

Start Docker Desktop.

rassasamine avatar Nov 15 '21 11:11 rassasamine

Facing similar issue on Windows 10 20H2. This problem is appearing after 4.2.2 update Diagonastics ID: DB18B431-81AB-443C-8513-0E3BE3C60770/20211119070234

pranavgvrk avatar Nov 19 '21 08:11 pranavgvrk

I had the same issue. For me setting the wsl-Version to 2 helped, at least for now:

wsl --set-default-version 2 Net stop com.docker.service Net start com.docker.service

Somehow it might got changed back to wsl 1?

Andi1217 avatar Nov 22 '21 12:11 Andi1217

Same issue on my side. Fixed it by updating WSL from 5.4.72 to 5.10.60.1. Run wsl --update from an elevated command prompt.

ggirard07 avatar Dec 03 '21 19:12 ggirard07

Thanks @ggirard07! This was driving me crazy 😄

My version of Docker Desktop (4.3.1) was just stuck on starting (never failed). Essentially unresponsive.

I killed all Docker-related processes with the Task Manager and updated wsl like @ggirard07 suggested, and after wsl --shutdown and starting Docker Desktop it worked.

I use WSL2 and while I don't know the kernel version I had, the current (5.10.60.1) seems to do the trick!

Edit: Windows 10, 21H1 (build 19043.1348)

barasimumatik avatar Dec 15 '21 09:12 barasimumatik

Issues go stale after 90 days of inactivity. Mark the issue as fresh with /remove-lifecycle stale comment. Stale issues will be closed after an additional 30 days of inactivity.

Prevent issues from auto-closing with an /lifecycle frozen comment.

If this issue is safe to close now please do so.

Send feedback to Docker Community Slack channels #docker-for-mac or #docker-for-windows. /lifecycle stale

docker-robott avatar Mar 15 '22 01:03 docker-robott

The solution work for both Docker starting and Docker stopping issues. I updated wsl to 5.10.102.1

sreepriyadeepak2021 avatar Apr 15 '22 14:04 sreepriyadeepak2021

Closed issues are locked after 30 days of inactivity. This helps our team focus on active issues.

If you have found a problem that seems similar to this, please open a new issue.

Send feedback to Docker Community Slack channels #docker-for-mac or #docker-for-windows. /lifecycle locked

docker-robott avatar May 15 '22 03:05 docker-robott