Docker Daemon Consistently Fails to Start After Reboot
- [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: EADA4CF6-A8F1-4AF7-AD63-93F03F5D7834/20210510221914
Actual behavior
Docker does not start correctly (it appears the daemon does not start). The Docker application will start and the icon is in the task bar, but only the whale is visible. The service never starts. The settings page is inaccessible (it is stuck on the spinner).
Expected behavior
Docker starts normally with Windows.
Information
- Windows Version: Windows 10 Enterprise Version 1909 (OS Build 18363.1500)
- Docker Desktop Version: Tried installing 3.3.1, 3.3.2 and 3.3.3 the issue is on all versions
- WSL2 or Hyper-V backend? Currently WSL2 but I tried both
- Are you running inside a virtualized Windows e.g. on a cloud server or a VM: No
- I have scoured the past issues and forums but nothing suggested works.
- I do not have any experimental features installed. I re-installed three different versions of Docker today so I am on factory settings.
- I tried removing all files related to Docker (including AppData) before re-installing.
- This issue only appeared in the past two weeks, Docker was running fine for two years before that.
- If I Clear/Purge data, Reset to Factory Defaults or run this in powershell '& 'C:\Program Files\Docker\Docker\DockerCli.exe' -SwitchDaemon', Docker will restart successfully and work. But the next time I reboot my computer the issue returns. This is not an option for me though as it deletes all of my images and containers.
Taskbar Icon

Settings Page

Log file
Steps to reproduce the behavior
- Restart computer and Docker does not start successfully.
I am having the same problem, also on Windows, although sometimes it is only after the second reboot, I have been forced to reset to factory defaults at least 4 times since the start of May. I am also running WSL2 with Docker for Windows.
I think, this is the same issue as mentioned here: https://github.com/docker/for-win/issues/11121#issuecomment-832514369
I think it is also a duplicate of #11162 and #11167 but this one was a little clearer in the description
Might be the same issue: https://github.com/docker/for-win/issues/11174
I managed to work around this issue with a combination of comments from this ticket https://github.com/docker/for-win/issues/10958
Comments: https://github.com/docker/for-win/issues/10958#issuecomment-831306519 https://github.com/docker/for-win/issues/10958#issuecomment-833259325
Summary:
- Download the installer (3.3.2) and run it manually (as opposed to using chocolatey)
- When prompted un-select "install wsl components" and "create link on desktop"
- Then, start docker desktop and everything runs as it used to 🤷🏻♀️
and this: I found what was the problem for my docker desktop start. By default docker wanted to sign in to my dockerhub account and for some reason related to my proxy (I sometimes use my company vpn sometimes not) it failed . In dashboard I signed out from docker hub and now docker starts
Solved! Thanks to @ShaneF67 I just signed out and my docker started immediately. So this was the only problem.
The fix that @belucha mentioned works, signing out of your docker account on docker desktop and then signing back in restarts the daemon. In future they should probably add restart of docker on starting up docker desktop; instead of leaving it running in the background with daemon not started.
I can confirm that just "sign out" resolved the issue.
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
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