# Docker failed to initialize

**URL:** <https://forums.docker.com/t/docker-failed-to-initialize/111341>\
**Category:** Docker Desktop\
**Tags:** windows\
**Created:** [June 17, 2021, 10:32pm UTC](https://forums.docker.com/t/docker-failed-to-initialize/111341 "2021-06-17T22:32:14Z")\
**Posts on this page:** 20\
**Page:** 1

<div class="post-metadata">

**Author:** ![mdebellissf](https://sea3.discourse-cdn.com/docker/user_avatar/forums.docker.com/mdebellissf/32/33171_2.png) [@mdebellissf](https://forums.docker.com/u/mdebellissf)\
**Post date:** [June 17, 2021, 10:32pm UTC](https://forums.docker.com/t/docker-failed-to-initialize/111341/1 "2021-06-17T22:32:14Z")

</div>

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

---

<div class="post-metadata">

**Author:** ![mdebellissf](https://sea3.discourse-cdn.com/docker/user_avatar/forums.docker.com/mdebellissf/32/33171_2.png) [@mdebellissf](https://forums.docker.com/u/mdebellissf)\
**Post date:** [June 21, 2021, 8:52pm UTC](https://forums.docker.com/t/docker-failed-to-initialize/111341/2 "2021-06-21T20:52:02Z")

</div>

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

---

<div class="post-metadata">

**Author:** ![emil4paul](https://sea3.discourse-cdn.com/docker/user_avatar/forums.docker.com/emil4paul/32/32808_2.png) [@emil4paul](https://forums.docker.com/u/emil4paul)\
**Post date:** [June 30, 2021, 5:46pm UTC](https://forums.docker.com/t/docker-failed-to-initialize/111341/3 "2021-06-30T17:46:21Z")

</div>

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?

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

```

---

<div class="post-metadata">

**Author:** ![mdebellissf](https://sea3.discourse-cdn.com/docker/user_avatar/forums.docker.com/mdebellissf/32/33171_2.png) [@mdebellissf](https://forums.docker.com/u/mdebellissf)\
**Post date:** [June 30, 2021, 6:03pm UTC](https://forums.docker.com/t/docker-failed-to-initialize/111341/4 "2021-06-30T18:03:44Z")

</div>

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.

---

<div class="post-metadata">

**Author:** ![emil4paul](https://sea3.discourse-cdn.com/docker/user_avatar/forums.docker.com/emil4paul/32/32808_2.png) [@emil4paul](https://forums.docker.com/u/emil4paul)\
**Post date:** [June 30, 2021, 7:43pm UTC](https://forums.docker.com/t/docker-failed-to-initialize/111341/5 "2021-06-30T19:43:24Z")

</div>

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).

---

<div class="post-metadata">

**Author:** ![emil4paul](https://sea3.discourse-cdn.com/docker/user_avatar/forums.docker.com/emil4paul/32/32808_2.png) [@emil4paul](https://forums.docker.com/u/emil4paul)\
**Post date:** [June 30, 2021, 8:55pm UTC](https://forums.docker.com/t/docker-failed-to-initialize/111341/6 "2021-06-30T20:55:11Z")

</div>

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.

---

<div class="post-metadata">

**Author:** ![mdebellissf](https://sea3.discourse-cdn.com/docker/user_avatar/forums.docker.com/mdebellissf/32/33171_2.png) [@mdebellissf](https://forums.docker.com/u/mdebellissf)\
**Post date:** [July 1, 2021, 3:12pm UTC](https://forums.docker.com/t/docker-failed-to-initialize/111341/7 "2021-07-01T15:12:19Z")

</div>

Glad you got it to work.

---

<div class="post-metadata">

**Author:** ![morlinest](https://avatars.discourse-cdn.com/v4/letter/m/e5b9ba/32.png) [@morlinest](https://forums.docker.com/u/morlinest)\
**Post date:** [July 29, 2021, 6:36am UTC](https://forums.docker.com/t/docker-failed-to-initialize/111341/8 "2021-07-29T06:36:06Z")

</div>

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](https://global.discourse-cdn.com/docker/original/3X/a/f/afaa3675ccc17c8f48c136af73aa4d2f7b8c2ba4.png)

---

<div class="post-metadata">

**Author:** ![teacop](https://avatars.discourse-cdn.com/v4/letter/t/eb8c5e/32.png) [@teacop](https://forums.docker.com/u/teacop)\
**Post date:** [July 29, 2021, 9:29am UTC](https://forums.docker.com/t/docker-failed-to-initialize/111341/9 "2021-07-29T09:29:59Z")

</div>

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](https://global.discourse-cdn.com/docker/original/3X/a/f/afaa3675ccc17c8f48c136af73aa4d2f7b8c2ba4.png)

---

<div class="post-metadata">

**Author:** ![ruch9211](https://avatars.discourse-cdn.com/v4/letter/r/96bed5/32.png) [@ruch9211](https://forums.docker.com/u/ruch9211)\
**Post date:** [August 6, 2021, 8:42am UTC](https://forums.docker.com/t/docker-failed-to-initialize/111341/10 "2021-08-06T08:42:25Z")

</div>

Any luck with above error?  
For me as well it was working perfect a few days back (maybe 6-7) but now getting this same issue

---

<div class="post-metadata">

**Author:** ![morlinest](https://avatars.discourse-cdn.com/v4/letter/m/e5b9ba/32.png) [@morlinest](https://forums.docker.com/u/morlinest)\
**Post date:** [August 6, 2021, 9:06am UTC](https://forums.docker.com/t/docker-failed-to-initialize/111341/11 "2021-08-06T09:06:09Z")

</div>

No luck, I had to install older version (tried 3.3.3).

---

<div class="post-metadata">

**Author:** ![tryso](https://avatars.discourse-cdn.com/v4/letter/t/9dc877/32.png) [@tryso](https://forums.docker.com/u/tryso)\
**Post date:** [August 10, 2021, 9:43am UTC](https://forums.docker.com/t/docker-failed-to-initialize/111341/12 "2021-08-10T09:43:21Z")

</div>

Having the same issue, how did you install an older version?

---

<div class="post-metadata">

**Author:** ![longqua69](https://avatars.discourse-cdn.com/v4/letter/l/ec9cab/32.png) [@longqua69](https://forums.docker.com/u/longqua69)\
**Post date:** [August 11, 2021, 8:32am UTC](https://forums.docker.com/t/docker-failed-to-initialize/111341/13 "2021-08-11T08:32:15Z")

</div>

Hi,

I raised an issue for this error on GitHub: [Issue 11822](https://github.com/docker/for-win/issues/11822)  
In addition, by googling and trying to fix this error, I found there are many people have the same issue.  
Please help us fix this problem.

Thanks

---

<div class="post-metadata">

**Author:** ![longqua69](https://avatars.discourse-cdn.com/v4/letter/l/ec9cab/32.png) [@longqua69](https://forums.docker.com/u/longqua69)\
**Post date:** [August 11, 2021, 9:17am UTC](https://forums.docker.com/t/docker-failed-to-initialize/111341/14 "2021-08-11T09:17:06Z")

</div>

Hi all,

According to [Docker failed to initialize](https://forums.docker.com/t/docker-failed-to-initialize-operation-timed-out/111321/13) I resolved this issue by:

C:\Users[USER]\AppData\Local\Docker  
C:\Users[USER]\AppData\Roaming\Docker  
C:\Users[USER]\AppData\Roaming\Docker Desktop

Once deleted, I didn’t have to do anything else, Docker Desktop started booting up as normal.

---

<div class="post-metadata">

**Author:** ![hoaipn](https://sea3.discourse-cdn.com/docker/user_avatar/forums.docker.com/hoaipn/32/31011_2.png) [@hoaipn](https://forums.docker.com/u/hoaipn)\
**Post date:** [August 14, 2021, 4:37am UTC](https://forums.docker.com/t/docker-failed-to-initialize/111341/15 "2021-08-14T04:37:32Z")

</div>

it works for me, thanks

---

<div class="post-metadata">

**Author:** ![extrig](https://avatars.discourse-cdn.com/v4/letter/e/6a8cbe/32.png) [@extrig](https://forums.docker.com/u/extrig)\
**Post date:** [August 14, 2021, 8:50am UTC](https://forums.docker.com/t/docker-failed-to-initialize/111341/16 "2021-08-14T08:50:44Z")

</div>

It`s works for me, Thx!

---

<div class="post-metadata">

**Author:** ![ccorsano](https://avatars.discourse-cdn.com/v4/letter/c/8e8cbc/32.png) [@ccorsano](https://forums.docker.com/u/ccorsano)\
**Post date:** [August 15, 2021, 9:53am UTC](https://forums.docker.com/t/docker-failed-to-initialize/111341/17 "2021-08-15T09:53:12Z")

</div>

Thanks for pointing out the directories !

In the log file in C:\Users[USER]\AppData\Local\Docker I found the culprit in my case:

[11:43:09.152][GoBackendProcess][Error] msg=“while parsing JSON from C:\Users\[USER]\AppData\Roaming\Docker\settings.json: json: cannot unmarshal bool into Go struct field Content.proxyHttpMode of type string”

I removed all settings lines related to proxy, and the service started fine.  
FYI it replaced the “proxyHttpMode” value from false to “system”.

---

<div class="post-metadata">

**Author:** ![kapilvermasgnr](https://avatars.discourse-cdn.com/v4/letter/k/9d8465/32.png) [@kapilvermasgnr](https://forums.docker.com/u/kapilvermasgnr)\
**Post date:** [August 16, 2021, 9:00am UTC](https://forums.docker.com/t/docker-failed-to-initialize/111341/18 "2021-08-16T09:00:49Z")

</div>

Not works for me.  
After deleting these files

```auto
C:\Users[USER]\AppData\Local\Docker
C:\Users[USER]\AppData\Roaming\Docker
C:\Users[USER]\AppData\Roaming\Docker Desktop

```

---

<div class="post-metadata">

**Author:** ![bouchram](https://avatars.discourse-cdn.com/v4/letter/b/c37758/32.png) [@bouchram](https://forums.docker.com/u/bouchram)\
**Post date:** [August 19, 2021, 2:32pm UTC](https://forums.docker.com/t/docker-failed-to-initialize/111341/19 "2021-08-19T14:32:17Z")

</div>

It works for me also, thanks

---

<div class="post-metadata">

**Author:** ![maxstgs](https://avatars.discourse-cdn.com/v4/letter/m/3ec8ea/32.png) [@maxstgs](https://forums.docker.com/u/maxstgs)\
**Post date:** [August 20, 2021, 6:49am UTC](https://forums.docker.com/t/docker-failed-to-initialize/111341/20 "2021-08-20T06:49:31Z")

</div>

I found the best solution for myself - I checked AppData\Local\Docker - there is a log.txt, when I opened the file, the error appears "when parsing JSON AppData\Roaming\Docker\settings.json cannot unmarshal bool in Go struct field Content. proxyHttpMode of type string ", I checked this file and removed the proxyHttpMode field. After that, the docker was restored.

[Next page](https://forums.docker.com/t/docker-failed-to-initialize/111341.md?page=2)
