Docker Community Forums

Share and learn in the Docker community.

Docker failed to initialize

I’m running the Docker Desktop for Windows version 3.4.0 on Windows 10 Pro, version 21H1 OS build 19043.1052. I’m having trouble starting Docker. I try to launch it but nothing happens. After several minutes I attempt to launch it again and I get an error message: “Docker failed to initialize. The operation timed out.” My network seems to be working fine. I’ve tried rebooting my desktop but had the same behavior.

I use Docker to load the latest version of the Allegro triplestore image from Franz Inc. in case that matters. The Allegro image is stored in Docker and normally when I start Docker it automatically starts Allegro as well. I just did a Windows OS upgrade and I think that was the point where it stopped working although of course I can’t be sure it was the upgrade that caused the problem.

Michael DeBellis

1 Like

I solved this problem by deleting Docker and then reinstalling it. Everything seems to work now.

1 Like

I also upgraded recently to the version 3.4.0 (currently, the latest and greatest and the first one that says that it requires only a log-off, not a full restart after the installation). And I also have the exact behaviour and error message. However, in my case the uninstallation/reinstallation did not fix the problem.
Any suggestions? Or should I revert to the version used before?

Edition	        Windows 10 Enterprise
Version	        21H1
Installed on	‎2021-‎03-‎29
OS build	    19043.1081
Experience	    Windows Feature Experience Pack 120.2212.3530.0

I’m assuming you’ve enabled Hyper-V, you must have if it was working in the past. There was someone else who also had a similar problem. I’ll see if I can find his post and if it has any useful ideas I’ll post a link to it here. I guess rolling back to an older version of Windows may be your only hope, although that isn’t a great option. Sorry.

Yes, I have Hyper-V enabled, although I think it was not used by Docker Desktop, which used the WSL 2 backend.
It worth to mention that I run Docker Desktop as a standard, non administrative user (I am a member of the docker-users group).

Finally, it worked with the previous version, 3.3.3.
What is strange is that both installers reported success, but they both:

  • failed to create a Docker Desktop icon on the desktop (option for this was enabled during the installation) (and they also)
  • did not display the message with the need of a reboot (for version 3.3.3) or log-off (for 3.4.0).

Finally, it worked flawlessly with the latest 3.5.1 version (I was not aware that there were 2 newer releases after 3.4.0). It did not require a log-off after installation in order to be ready to be used.

Glad you got it to work.

Hi, I have exactly same problem with version 3.5.2. I’ve tried reinstaling Docker without any success. Win 10 Pro 21H1 build 19043.1110. It was working some weeks ago, now it does not show anything (no system tray icon) except (when I try to run it second time):
image

I have installed docker 3.5.1, used to work fine, then one day it refused to launch and since whenever I launch I get this message:

image