for-win icon indicating copy to clipboard operation
for-win copied to clipboard

Failed to start at Docker.Engines.LinuxkitDaemonStartup.<WaitAsync>d__5.MoveNext() in C:\workspaces\4.12.x\src\github.com\docker\pinata\win\src\Docker.Engines\LinuxkitDaemonStartup.cs:line 54

Open donhuvy opened this issue 4 years ago • 15 comments

image

log

Docker.Core.DockerException:
Failed to start
   at Docker.Engines.LinuxkitDaemonStartup.<WaitAsync>d__5.MoveNext() in C:\workspaces\4.12.x\src\github.com\docker\pinata\win\src\Docker.Engines\LinuxkitDaemonStartup.cs:line 54
--- 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__26.MoveNext() in C:\workspaces\4.12.x\src\github.com\docker\pinata\win\src\Docker.Engines\WSL2\LinuxWSL2Engine.cs:line 170
--- 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\4.12.x\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\4.12.x\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\4.12.x\src\github.com\docker\pinata\win\src\Docker.ApiServices\StateMachines\StartTransition.cs:line 92
--- 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.EngineStateMachine.<StartAsync>d__14.MoveNext() in C:\workspaces\4.12.x\src\github.com\docker\pinata\win\src\Docker.ApiServices\StateMachines\EngineStateMachine.cs:line 69
--- 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.Engines.<StartAsync>d__22.MoveNext() in C:\workspaces\4.12.x\src\github.com\docker\pinata\win\src\Docker.Engines\Engines.cs:line 107

image

Diagnose id = E2D27E2A-1452-4AC6-8C10-1BE8DB606FB9/20220912094949

image

donhuvy avatar Sep 12 '22 09:09 donhuvy

looks like I have a familiar issue my Diagnositcs ID is 87570521-983B-487A-9286-059B2DF21B88/20220916104321

1itt1eB0y avatar Sep 16 '22 10:09 1itt1eB0y

@donhuvy I used netsh winsock reset to solve this issue. You can try it.

1itt1eB0y avatar Sep 17 '22 03:09 1itt1eB0y

image mismi problema

AvelaSAN avatar Sep 17 '22 06:09 AvelaSAN

netsh winsock reset using this worked

rozaqabdul656 avatar Sep 19 '22 08:09 rozaqabdul656

@donhuvy I used netsh winsock reset to solve this issue. You can try it.

It worked for me!

crimcol avatar Sep 25 '22 23:09 crimcol

Thanks it works :) netsh winsock reset

saurabhsingla786 avatar Sep 26 '22 09:09 saurabhsingla786

For me it helped just to restart Docker Desktop.

MichaelUray avatar Oct 22 '22 18:10 MichaelUray

thx a lot. netsh winsock reset worked for me. doing homework just before ddl. thx a lot!

KSroido avatar Nov 10 '22 13:11 KSroido

@donhuvy I used netsh winsock reset to solve this issue. You can try it.

thanks

kpaaro avatar Nov 30 '22 09:11 kpaaro

@donhuvy I used netsh winsock reset to solve this issue. You can try it.

thank you very much, it works. But how it works?

kevinyyyy avatar Dec 13 '22 15:12 kevinyyyy

This error occured after I installed WSL2 Ubuntu for Docker Desktop. Just simply restarting the machine worked for me.

initshdb avatar Dec 29 '22 19:12 initshdb

@donhuvy I used netsh winsock reset to solve this issue. You can try it.

thank you very much, it works. But how it works?

@kevinyyyy it seems like something caused IPC misconfiguration, so that Docker can't connet to the socket. Use this cmd to reset IPC to make it running properly.

1itt1eB0y avatar Dec 31 '22 11:12 1itt1eB0y

@donhuvy I used netsh winsock reset to solve this issue. You can try it.

Thx a lot. It worked for me.

yaniv-walker avatar Mar 03 '23 12:03 yaniv-walker

@donhuvy I used netsh winsock reset to solve this issue. You can try it.

thank you very match!! It worked for me.

ta-ke-inf avatar Apr 05 '23 17:04 ta-ke-inf

In my case, the 360 software kills the relative file ( identify docker file as virus )

so netsh winsock restart not work for me.

my solution:

  1. open 360 guard.
  2. uninstall docker
  3. re-install docker ( keep 360 opening, then it will complain that some virus found , then you mark the virus file as "safe")

after re-installation, docker successfully started!

sg552 avatar Apr 06 '23 02:04 sg552