Docker doesn't start in Windows 11
- [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: B064E353-7A9D-44B7-9DE4-AB0C22D1EC04/20211203150318
Actual behavior
Docker engine doesn't start.
Expected behavior
Docker engine starts.
Information
-
it is reproducible. no start is possible anymore
-
it used to work with Windows 10
-
Windows Version: 11
-
Docker Desktop Version: 4.3.0.0
-
WSL2 or Hyper-V backend? WSL2
-
Are you running inside a virtualized Windows e.g. on a cloud server or a VM: no
-
I did try a complete de-install, reboot, re-install, reboot cycle.
-
I also disabled the WSL feature, rebooted and enabled the WSL feature again, rebooted again.
-
Task Manager reports virtualization enabled.
Steps to reproduce the behavior
- Install Docker
- Start Docker
Output of Check:
Please investigate the following 3 issues:
1 : The test: are the LinuxKit services running?
Failed with: failed to ping VM diagnosticsd with error: Get "http://ipc/ping": open \\.\pipe\dockerDiagnosticd: The system cannot find the file specified.
The Docker engine runs inside a Linux VM as a service. Therefore the services must have started.
2 : The test: are the backend processes running?
Failed with: 3 errors occurred:
* vpnkit-bridge.exe is not running
* vpnkit.exe is not running
* com.docker.proxy.exe is not running
Not all of the backend processes are running.
3 : The test: is the VM networking working?
Failed with: network checks failed: Post "http://ipc/check-network-connectivity": open \\.\pipe\dockerDiagnosticd: The system cannot find the file specified.
VM seems to have a network connectivity issue. Please check your host firewall and anti-virus settings in case they are blocking the VM.
- I've now completely uninstalled Docker.
- Removed all traces of it from the registry and the file system.
- Reboot
- Uninstalled Ubuntu and WSL2.
- Reboot
- Re-installed WSL2, with Ubuntu as default distro, which was a smooth process.
- Reboot
- Updated the kernel
- Reboot
- Updated all packages
- Reboot
- Re-installed the latest Docker, which was a smooth process
- Started Docker
- it says
Docker Engine starting...for ages - and then fails to start
The Docker Desktop Backend is using a lot of CPU while hanging and keeps allocating memory of over 10 GB.

A window pops up with an error:
System.TimeoutException:
The operation has timed out.
at System.IO.Pipes.NamedPipeClientStream.ConnectInternal(Int32 timeout, CancellationToken cancellationToken, Int32 startTime)
at System.Threading.Tasks.Task.Execute()
--- End of stack trace from previous location where exception was thrown ---
at System.Runtime.ExceptionServices.ExceptionDispatchInfo.Throw()
at System.Runtime.CompilerServices.TaskAwaiter.HandleNonSuccessAndDebuggerNotification(Task task)
at HttpOverStream.NamedPipe.NamedPipeDialer.<DialAsync>d__8.MoveNext()
--- End of stack trace from previous location where exception was thrown ---
at System.Runtime.ExceptionServices.ExceptionDispatchInfo.Throw()
at System.Runtime.CompilerServices.TaskAwaiter.HandleNonSuccessAndDebuggerNotification(Task task)
at HttpOverStream.Client.DialMessageHandler.<SendAsync>d__9.MoveNext()
--- End of stack trace from previous location where exception was thrown ---
at System.Runtime.ExceptionServices.ExceptionDispatchInfo.Throw()
at System.Runtime.CompilerServices.TaskAwaiter.HandleNonSuccessAndDebuggerNotification(Task task)
at Docker.Core.IPC.Client.<SendAsync>d__5.MoveNext() in C:\workspaces\PR-16841\src\github.com\docker\pinata\win\src\Docker.Core\IPC\Client.cs:line 37
--- End of stack trace from previous location where exception was thrown ---
at System.Runtime.ExceptionServices.ExceptionDispatchInfo.Throw()
at System.Runtime.CompilerServices.TaskAwaiter.HandleNonSuccessAndDebuggerNotification(Task task)
at System.Net.Http.HttpClient.<FinishSendAsyncBuffered>d__58.MoveNext()
--- End of stack trace from previous location where exception was thrown ---
at System.Runtime.ExceptionServices.ExceptionDispatchInfo.Throw()
at System.Runtime.CompilerServices.TaskAwaiter.HandleNonSuccessAndDebuggerNotification(Task task)
at Docker.Core.HttpClientExtensions.<GetJsonAsync>d__0`1.MoveNext() in C:\workspaces\PR-16841\src\github.com\docker\pinata\win\src\Docker.Core\HttpClientExtensions.cs:line 16
--- End of stack trace from previous location where exception was thrown ---
at System.Runtime.ExceptionServices.ExceptionDispatchInfo.Throw()
at System.Runtime.CompilerServices.TaskAwaiter.HandleNonSuccessAndDebuggerNotification(Task task)
at Docker.ApiServices.LifecycleClient.<GetDockerStateAsync>d__4.MoveNext() in C:\workspaces\PR-16841\src\github.com\docker\pinata\win\src\Docker.Engines\LifecycleClient.cs:line 49
--- End of stack trace from previous location where exception was thrown ---
at System.Runtime.ExceptionServices.ExceptionDispatchInfo.Throw()
at System.Runtime.CompilerServices.TaskAwaiter.HandleNonSuccessAndDebuggerNotification(Task task)
at System.Runtime.CompilerServices.TaskAwaiter`1.GetResult()
at Docker.Engines.LinuxkitDaemonStartup.<WaitAsync>d__5.MoveNext() in C:\workspaces\PR-16841\src\github.com\docker\pinata\win\src\Docker.Engines\LinuxkitDaemonStartup.cs:line 60
--- End of stack trace from previous location where exception was thrown ---
at System.Runtime.ExceptionServices.ExceptionDispatchInfo.Throw()
at System.Runtime.CompilerServices.TaskAwaiter.HandleNonSuccessAndDebuggerNotification(Task task)
at Docker.Engines.WSL2.LinuxWSL2Engine.<DoStartAsync>d__28.MoveNext() in C:\workspaces\PR-16841\src\github.com\docker\pinata\win\src\Docker.Engines\WSL2\LinuxWSL2Engine.cs:line 179
--- End of stack trace from previous location where exception was thrown ---
at System.Runtime.ExceptionServices.ExceptionDispatchInfo.Throw()
at System.Runtime.CompilerServices.TaskAwaiter.HandleNonSuccessAndDebuggerNotification(Task task)
at Docker.ApiServices.StateMachines.TaskExtensions.<WrapAsyncInCancellationException>d__0.MoveNext() in C:\workspaces\PR-16841\src\github.com\docker\pinata\win\src\Docker.ApiServices\StateMachines\TaskExtensions.cs:line 29
--- End of stack trace from previous location where exception was thrown ---
at System.Runtime.ExceptionServices.ExceptionDispatchInfo.Throw()
at System.Runtime.CompilerServices.TaskAwaiter.HandleNonSuccessAndDebuggerNotification(Task task)
at Docker.ApiServices.StateMachines.StartTransition.<DoRunAsync>d__5.MoveNext() in C:\workspaces\PR-16841\src\github.com\docker\pinata\win\src\Docker.ApiServices\StateMachines\StartTransition.cs:line 67
--- End of stack trace from previous location where exception was thrown ---
at System.Runtime.ExceptionServices.ExceptionDispatchInfo.Throw()
at Docker.ApiServices.StateMachines.StartTransition.<DoRunAsync>d__5.MoveNext() in C:\workspaces\PR-16841\src\github.com\docker\pinata\win\src\Docker.ApiServices\StateMachines\StartTransition.cs:line 92
The Check now says something different:
Please investigate the following 2 issues:
1 : The test: is the WSL 2 Linux filesystem corrupt?
Failed with: context deadline exceeded
If the WSL 2 Linux filesystem is corrupt then Docker Desktop cannot start.
There is a known issue fixed in Windows Insider builds which can cause filesystem corruption, see: https://github.com/microsoft/WSL/issues/5895 .
Please try running "wsl --shutdown" to stop your WSL Virtual Machine. When it restarts it will run a filesystem check and hopefully fix the problem.
2 : The test: is the native API responding?
Failed with: failed to ping tray application with error: Get "http://ipc/ping": context deadline exceeded (Client.Timeout exceeded while awaiting headers)
The native API server is needed to start Docker engine.
new diagnostics ID is 0101B04C-F9EA-4CDD-83C5-D883BF330C75/20211203175232
I've followed the steps here: https://github.com/docker/for-win/issues/3764 but that doesn't help.
I also followed advice here: https://stackoverflow.com/questions/43041331/docker-forever-in-docker-is-starting-at-windows-task
I am the same,when startup win11 docker doesn't start~~but manually starting it will work
ITNOA
related to #12066 related to #12158 related to #12270
I am the same,when startup win11 docker doesn't start~~but manually starting it will work
I have same problem, I properly can start manually on terminal with running daemon within, But My Docker Desktop does not start correctly :(
I have the same issue with following details:
- [x] I have tried with the latest version of Docker Desktop
- [x] I have tried disabling enabled experimental features
- [ ] I have uploaded Diagnostics
- Diagnostics ID:
Information
- Windows Version: Windows 11 pro version 21H2 Build 22000.376
- Docker Desktop Version: 4.4.4 community edition
- 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
- run docker desktop after windows restart
- wait for it to launch
I have the same problem on WIndows 11. I have upgraded my OS from Windows 10 -> Windows 11. In WIndows 10 the Docker worked fine
I have had the same issue but after too many search and post on Git and stack overflow (Link ) finally resolved it by fresh installations of windows. I upgraded my windows 10 to 11 and upgraded wsl2 as well but docker was failed to start.
resolved it by fresh installations of windows.
Yes, that's how I resolved it for myself as well - with a new machine. It is honestly very frustrating that with all the log files and details here that his is such a mystery that blocks so many people.
I am in same situation , not able to fix , just upgraded from win 10 to 11. Did you roll back to 10 or did a fresh installation of win 11.
i was struggling from hours . I just did install version 4.4.4 and it working , Don't want to try & upgrade to 4.5 now seems bug in compatibility with WSL2 , win11 and docker 4.5
********Look at this *** https://github.com/docker/for-win/issues/12546
Difference noticed is this in 4.5 checkbox magically don't show

Only a fresh installation can resolve it
@kongo09, @myakhlaqi I tried reinstalling a couple times and different versions and nothing worked, the UI would just never hsow up. The only soulution really was to delete C:\Users\<username>\AppData\Roaming\Docker and C:\Users\<username>\AppData\Roaming\Docker Desktop .
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 solved this with : https://stackoverflow.com/questions/71702448/docker-daemon-not-running-on-windows-11
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