Docker takes two hours to start
- [ x] I have tried with the latest version of my channel (Stable or Edge)
- [x ] I have uploaded Diagnostics
- Diagnostics ID: B2C5B42E-7E5F-406E-97CA-049D498D5A81/20200414120244
Expected behavior
Docker for Windows starts with Windows, after a couple of minutes Docker is ready and available.
Actual behavior
Docker for Windows is stuck in "starting" for about two hours before it's ready.
Information
- Windows Version: 10.0.18363 Build 18363
- Docker Desktop Version: 2.2.0.5 (43884)
- Are you running inside a virtualized Windows e.g. on a cloud server or on a mac VM: No.
- CPU: Intel Core i7-4790K
- RAM: 32 GB DDR3-1600
- GPU: NVIDIA GeForce GTX 980
I've installed Docker on my Desktop PC, the same version of both Windows and Docker on both of my laptops does not produce the issue, but after removing and reinstalling both Docker and Hyper-V multiple times, trying the latest Edge Version of Docker aswell (which simply didn't start) i'm at a loss how to resolve this issue .
Here you see the two hour gap in the Diagnostic Log:
[14:02:59.614][GoBackendProcess ][Info ] time="2020-04-14T14:02:59+02:00" msg="external: GET /forwards/list 200 \"Go-http-client/1.1\" \"\""
[14:04:08.478][GoBackendProcess ][Error ] time="2020-04-14T14:04:08+02:00" msg="unable to send a no-op event: rpc error: code = Unavailable desc = all SubConns are in TransientFailure, latest connection error: connection error: desc = \"transport: Error while dialing open \\\\\\\\.\\\\pipe\\\\dockerFilesystemEvent: The system cannot find the file specified.\""
[14:05:57.476][FeedbackWindow ][Info ] Open logs
[14:18:27.268][FeedbackWindow ][Info ] Open logs
[15:01:27.995][SegmentApi ][Info ] Usage statistic: heartbeat
[15:25:09.525][FeedbackWindow ][Info ] Open logs
[15:27:08.076][FeedbackWindow ][Info ] Open logs
[15:27:21.358][FeedbackWindow ][Info ] Open logs
[15:42:33.607][FeedbackWindow ][Info ] Open logs
[15:42:58.077][FeedbackWindow ][Info ] Open logs
[16:01:27.998][SegmentApi ][Info ] Usage statistic: heartbeat
[16:01:33.744][HyperV ][Info ] Setting CPUs to 2 and Memory to 2048 MB
[16:01:33.896][HyperV ][Info ] Creating dynamic VHD: C:\ProgramData\DockerDesktop\vm-data\DockerDesktop.vhd
Steps to reproduce the behavior
- Install Docker Desktop on my machine. (sorry)
The Windows Eventlog gives a hint in the Service Control Manager Errors:
The Microsoft Azure VFP Switch Extension service failed to start due to the following error: A device attached to the system is not functioning.
Event-Id 7000
DeviceSetupManager is reporting this:
- <Event xmlns="http://schemas.microsoft.com/win/2004/08/events/event">
- <System>
<Provider Name="Microsoft-Windows-DeviceSetupManager" Guid="{fcbb06bb-6a2a-46e3-abaa-246cb4e508b2}" />
<EventID>131</EventID>
<Version>0</Version>
<Level>2</Level>
<Task>0</Task>
<Opcode>0</Opcode>
<Keywords>0x4000000000000000</Keywords>
<TimeCreated SystemTime="2020-04-15T00:15:27.496973200Z" />
<EventRecordID>1440</EventRecordID>
<Correlation />
<Execution ProcessID="1372" ThreadID="3136" />
<Channel>Microsoft-Windows-DeviceSetupManager/Admin</Channel>
<Computer>S2SMHULTRA</Computer>
<Security UserID="S-1-5-18" />
</System>
- <EventData>
<Data Name="Prop_ContainerId">{00000000-0000-0000-FFFF-FFFFFFFFFFFF}</Data>
<Data Name="HRESULT">2147942487</Data>
</EventData>
</Event>
This morning Docker greeted me with a new error:
Diagnostic ID: E0DFB664-6FEB-4A2A-ACBC-B676BE7C8F16/20200415065527
Docker.Core.Backend.BackendException:
Error response from daemon: open \\.\pipe\docker_engine_linux: The system cannot find the file specified.
bei Docker.Core.Pipe.NamedPipeClient.<TrySendAsync>d__5.MoveNext()
--- Ende der Stapelüberwachung vom vorhergehenden Ort, an dem die Ausnahme ausgelöst wurde ---
bei System.Runtime.ExceptionServices.ExceptionDispatchInfo.Throw()
bei Docker.Core.Pipe.NamedPipeClient.Send(String action, Object[] parameters)
bei Docker.Actions.DoStart(SynchronizationContext syncCtx, Boolean showWelcomeWindow, Boolean withNotifications)
bei Docker.Actions.<>c__DisplayClass26_0.<StartAsync>b__0()
bei Docker.ApiServices.TaskQueuing.TaskQueue.<>c__DisplayClass18_0.<.ctor>b__1()
Docker.Core.DockerException:
Error response from daemon: open \\.\pipe\docker_engine_linux: The system cannot find the file specified.
bei Docker.Backend.DockerDaemonChecker.Check(Func`1 isDaemonProcessStillRunning)
bei Docker.Backend.BackendNamedPipeServer.<Run>b__8_2(Object[] args)
bei Docker.Core.Pipe.NamedPipeServer.<>c__DisplayClass9_0.<Register>b__0(Object[] parameters)
bei Docker.Core.Pipe.NamedPipeServer.RunAction(String action, Object[] parameters)
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
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