Docker Community Forums

Share and learn in the Docker community.

Docker failed to initialize error

I’ve just installed Docker Desktop for Windows but I am unable to open the application without errors.

I get the error: Docker Failed to initialize. This program is blocked by group policy.
image

I have installed hyper v manager and made sure to turn on Virtual machine platform, windows subsystem for Linux, containers, and hyper v in windows feature following this guide: https://docs.docker.com/docker-for-windows/troubleshoot/

I’m not sure what else to do to fix this issue. Any assistance is appreciated. Thanks!

Also here’s the log file:
Version: 2.5.0.1 (49550)
Channel: stable
Sha1: 9999999999999999999999999999999999
Started on: 2020/12/07 20:58:37.020
Resources: C:\Program Files\Docker\Docker\resources
OS: Windows 10 Pro
Edition: Professional
Id: 1909
Build: 18363
BuildLabName: 18362.1.amd64fre.19h1_release.190318-1202
CommandLine: “C:\Program Files\Docker\Docker\Docker Desktop.exe”
You can send feedback, including this log file, at https:/ /github.com/docker/for-win/issues
[20:58:37.127][GUI ][Info ] Starting…
[20:58:37.197][ComponentVersions ][Info ] Edition community
[20:58:37.201][ComponentVersions ][Info ] Edition community
[20:58:37.305][LoggingMessageHandler][Info ] [97853b11] GET http // localhost/ping
[20:58:37.366][GoBackendClient ][Warning] HttpOS Client: connection timed out.
[20:58:37.650][AppMigrator ][Info ] Current version: 6. Latest version: 6
[20:58:37.675][LoggingMessageHandler][Info ] [5f5b934b] GET http:// localhost/ping
[20:58:37.676][GoBackendClient ][Warning] HttpOS Client: connection timed out.
[20:58:37.679][GoBackendProcess ][Info ] Starting C:\Program Files\Docker\Docker\resources\com.docker.backend.exe -addr unix:\.\pipe\dockerBackendApiServer
[20:58:37.977][LoggingMessageHandler][Info ] [adb0fc71] GET http:// localhost/ping
[20:58:37.977][GoBackendClient ][Warning] HttpOS Client: connection timed out.
[20:58:38.159][GUI ][Error ] System.ComponentModel.Win32Exception:
This program is blocked by group policy. For more information, contact your system administrator
at System.Diagnostics.Process.StartWithCreateProcess(ProcessStartInfo startInfo)
at Docker.ManagedProcesses.ManagedProcess.StartProcess(String fileName, String arguments, String currentDirectory, IDictionary2 envVariables, CancellationToken stopToken) in C:\workspaces\stable-2.5.x\src\github.com\docker\pinata\win\src\Docker.Desktop\ManagedProcesses\ManagedProcess.cs:line 115 at Docker.ManagedProcesses.ManagedProcess.Start(String arguments, String currentDirectory, IDictionary2 envVariables) in C:\workspaces\stable-2.5.x\src\github. com\docker\pinata\win\src\Docker.Desktop\ManagedProcesses\ManagedProcess.cs:line 48
at Docker.ManagedProcesses.GoBackendProcess.Start() in C:\workspaces\stable-2.5.x\src\github. com\docker\pinata\win\src\Docker.Desktop\ManagedProcesses\GoBackendProcess.cs:line 33
at Docker.Program.Run(IReadOnlyCollection`1 args) in C:\workspaces\stable-2.5.x\src\ github .com\docker\pinata\win\src\Docker.Desktop\Program.cs:line 313
[20:58:38.171][GUI ][Info ] Sending Bugsnag report bc8d9a15-12e5-4930-aa36-ceed20874024…
[20:58:38.280][LoggingMessageHandler][Info ] [a930b158] GET http:// localhost/ping
[20:58:38.280][GoBackendClient ][Warning] HttpOS Client: connection timed out.
[20:58:38.311][GUI ][Info ] Bugsnag report bc8d9a15-12e5-4930-aa36-ceed20874024 sent
[20:58:38.318][SegmentApi ][Info ] Usage statistic: eventCrash
[20:58:38.581][LoggingMessageHandler][Info ] [a116435f] GET http:// localhost/ping
[20:58:38.581][GoBackendClient ][Warning] HttpOS Client: connection timed out.