-
Notifications
You must be signed in to change notification settings - Fork 287
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Timed out waiting for the lifecycle-server to start. #5082
Comments
Possible duplicate of #5069 |
I'll have a look at it tomorrow, thanks for the diag report! |
Simple question: is it consistently failing or does the problem appear randomly ? |
@simonferquel Random. Initially it seemed like a reboot caused the issue. After a fresh startup of Windows I noticed it was no longer working. Then I tried restarting Docker multiple times but kept getting errors. Another reboot fixed it. I think I restarted before leaving work so my machine was idle for maybe 15 hours. Maybe the idle time came into play or some other change I’m not aware of. |
I yet have to find the root issue for this one. Maybe the idle time comes to play, you are right (did the machine went to sleep / hybernation while idle?)
|
@simonferquel I'm sure the machine went to sleep as it's set to after an hour or so. I see Event Log entries from Docker Service indicating it handled the power events both sleep and wake ("PowerEvent handled successfully by the service."). Not sure that it's helpful but there are also these in the event log around the time it happened. Application: Docker Desktop.exe Framework Version: v4.0.30319 Description: The process was terminated due to an unhandled exception. Exception Info: System.InvalidOperationException at System.Windows.Forms.Control.MarshaledInvoke(System.Windows.Forms.Control, System.Delegate, System.Object[], Boolean) at System.Windows.Forms.Control.BeginInvoke(System.Delegate, System.Object[]) at System.Windows.Forms.WindowsFormsSynchronizationContext.Post(System.Threading.SendOrPostCallback, System.Object) at System.Threading.Tasks.AwaitTaskContinuation.RunCallback(System.Threading.ContextCallback, System.Object, System.Threading.Tasks.Task ByRef) at System.Runtime.ExceptionServices.ExceptionDispatchInfo.Throw() at System.Threading.ExecutionContext.RunInternal(System.Threading.ExecutionContext, System.Threading.ContextCallback, System.Object, Boolean) at System.Threading.ExecutionContext.Run(System.Threading.ExecutionContext, System.Threading.ContextCallback, System.Object, Boolean) at System.Threading.QueueUserWorkItemCallback.System.Threading.IThreadPoolWorkItem.ExecuteWorkItem() at System.Threading.ThreadPoolWorkQueue.Dispatch() Faulting application name: Docker Desktop.exe, version: 2.1.5.40323, time stamp: 0xed6456e9 Faulting module name: KERNELBASE.dll, version: 10.0.19013.1, time stamp: 0x6d1c8fa4 Exception code: 0xe0434352 Fault offset: 0x000000000003b4a9 Faulting process id: 0x41e4 Faulting application start time: 0x01d594a12adecc41 Faulting application path: C:\Program Files\Docker\Docker\Docker Desktop.exe Faulting module path: C:\WINDOWS\System32\KERNELBASE.dll Report Id: 37c0e0d2-164f-4280-ba42-e03cf29cc5ed Faulting package full name: Faulting package-relative application ID: Thanks for the workaround. Maybe I'll create a script for it. Including one in the distribution would be nice too. |
@simonferquel Created related issue #5093. That's actually the initial error I saw. This issue on timing out was after restarting Docker to try to recover from that issue. |
For what it's worth, these steps did work for me (to an extent). These steps allowed me to get past any Docker Desktop startup errors. In powershell I'm able to connect to docker daemon, presumably using the Hyper-V Docker Desktop VM. However, even after disabling / re-enabling WSL 2 based engine in the Docker Desktop settings, WSL is unable to connect to daemon. |
In case it's helpful to anyone, a little PS script for this. # Run elevated
Get-Process "Docker Desktop" | Stop-Process
Restart-Service "Docker Desktop Service"
wsl --shutdown
Invoke-Item "$($env:PROGRAMFILES)\Docker\Docker\Docker Desktop.exe" |
2.1.6.0 should fix the issue |
With Docker Desktop 2.1.6.0, I have
If I run |
Wsl context should not be used anymore. It is an artifact created by the old tech preview. You can safely remove it. |
I encounter the same issue in version/2.1.7.0. Any workaround on this beside reset factory? Here's what i got from docker log.
|
@raefaldhia the issue you have is the same as microsoft/WSL#4726. It will soon be fixed by Microsoft. In the mean time a simple restart should fix the issue. |
Issues go stale after 90d of inactivity. Prevent issues from auto-closing with an 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. |
Closed issues are locked after 30 days of inactivity. 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. |
Expected behavior
Docker starts up after previous shutdown.
Actual behavior
Docker times out after 600 seconds on startup. Related issue #5081.
Information
Steps to reproduce the behavior
This was working originally, not sure what triggered it.
The text was updated successfully, but these errors were encountered: