Docker does not start on Windows start (does after a Restart)
- [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: 03A5B091-BB4B-4108-AB63-0C26AECF731C/20210504140701
Actual behavior
Behavior described here occurs if you have Docker set to run after login (automatically)
Docker desktop seems to be running (icon on task bar). However, no containers are started. No errors are reported. The only indication that something is wrong:
-
the
dockericon in Windows task bar does not show the ship/whale "sails"/blows (?)
-
if you have Windows Notifications set for Docker (I do), it will not pop a notification as it normally does (not verbatim:
"docker wsl2...is starting"
-
On the
Troubleshootsection of Docker Desktop, theRestart Docker Desktopbutton is disabled (you can't restart )

-
The Settings section is stuck on a spinning wheel

Workarounds:
-
Start Docker Desktop manually (not when you log in) by unchecking the option in settings and just start Docker Desktop like any other app

-
However, If it's already started , and you can't do the above because the settings tab is "stuck" (see above spinning wheel), you can try:
- Restart Windows - this usually "fixes" the issue (no other action needed to get everything going as it normally should)
- If restarting doesn't work, or you don't want to do a Windows restart, stop and restart Docker manually via
Windows Task Manager- stop
docker.exeandDocker.Service

- the above are the only processes I can personally see when Docker fails - there are quite a few more when it runs successfully (eg.
Docker Desktop Backend, etc) - Start
Docker Desktopmanually (via Programs, Cortana, Windows search, etc). Go through the prompts (elevated privileges, start Docker Service, etc)
- stop
Expected behavior
Docker should normally startup with all containers running
Information
-
Windows Version:
Edition Windows 10 Pro Version 20H2 Installed on 3/20/2021 OS build 19042.928 Experience Windows Feature Experience Pack 120.2212.551.0 -
Docker Desktop Version: ~~
3.3.1 (63152)~~3.3.3 (64133) -
Docker Engine Version: ~~
v20.10.5~~v20.10.6 -
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 Windows 10 (cold start, not on any "standby" mode)
- There is no "step 2" (if you have Docker running automatically after login), the issue already manifests at this point. A Windows
Restartwill "fix" (although this could be a couple of restarts) or manually stop/start viaWindows Task Manager
Same behavior:
- Windows Version:
Edition Window 10 Enterprise
Version 20H2
Installed on 3/4/2021
OS build 19042.928
Experience Windows Feature Experience Pack 120.2212.551.0
- Docker Engine version
20.10.6, build 370c289 - Docker Desktop version
3.3.2 (63878) - WSL2 or Hyper-V backend?
WSL2 - Are you running inside a virtualized Windows e.g. on a cloud server or a VM:
No
My workaround:
- Stop all tasks related to "Docker" in task manager
- Start "Docker Desktop" app manually
- Commit message to start "Docker Desktop Service"
I suppose, the "Docker Desktop Service" hangs on startup and as a result Docker Desktop App is not able to work properly.
Update 5/6/2021:
I downgraded to Docker Desktop version 3.2.2 and everything works fine. But that's not a solution, because the autoupdate immediately reinstalls version 3.3.1 on next start. :(
So at the moment Docker Desktop is completely unusable! :(
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
I am seeing this issue as well. Extremely frustrating.
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