<!-- Please, check https://docs.docker.com/docker-for-windows/troubleshoot/. Issues without logs and details cannot be debugged and will be closed.
Issues unrelated to Docker Desktop will be closed. In particular, see
- [ ] with
- [x], or click after having submitted the issue. -->
<!-- Download Docker Desktop 'Edge' (latest build) here: https://hub.docker.com/editions/community/docker-ce-desktop-windows -->
After a clean install, docker desktop should start, but it's not starting.
Getting the following error message, which is hard to debug.
Timed out waiting for the lifecycle-server to start. This may be the result of a slow environment or there may be a real problem. This timeout can be increased by editing settings.json, value 'lifecycleTimeoutSeconds'. This file is usually in C:\Users\(your username)\AppData\Roaming\Docker at Docker.Core.Pipe.NamedPipeClient.<TrySendAsync>d__5.MoveNext() --- End of stack trace from previous location where exception was thrown --- at System.Runtime.ExceptionServices.ExceptionDispatchInfo.Throw() at Docker.Core.Pipe.NamedPipeClient.Send(String action, Object parameters) at Docker.Actions.DoStart(SynchronizationContext syncCtx, Boolean showWelcomeWindow, Boolean executeAfterStartCleanup) at Docker.Actions.<>c__DisplayClass24_0.<Start>b__0() at Docker.ApiServices.TaskQueuing.TaskQueue.<>c__DisplayClass17_0.<.ctor>b__1()
<!-- Please, help us understand the problem. For instance:
Before few weeks, everything was working fine. I think, I tried to update docker or restarted the machine and then it has stopped working.
I have tried with 188.8.131.52 and 184.108.40.206 stable installers but none of those are working and giving same errors. I tried increasing memory, enabling/disabling hyper-v but none of those has helped yet.
<!-- A reproducible case, Dockerfiles with reproduction inside is best. -->
Mac Parallels 13.3.2, Windows 10 pro 1903 virtual machine
- Stable 220.127.116.11 doesn't work
- Stable 18.104.22.168 doesn't work (as suggested here #4393)
Both versions have same issue virtual machine in Hyper-V consumes 50% host CPU and never gets ready to work.
- Changing VM settings in (more memory or more CPU-s ) doesn't have any effect.
- Extending lifecycle timeout up to 600s doesn't have any effect
However latest Edge release: Docker Desktop Community 22.214.171.124 (37260) works, starts within 10s Also I have selected inside Edge version installation to install missing windows components not sure if this made difference or what exactly changes in Win.
I have disabled docker desktop auto start on OS startup, hate having apps running that I don't use so I can't confirm if starts within 10s when OS is starting.
Hope this helps.
@gljubojevic thanks a lot for your reply with instructions. I tried with 126.96.36.199 edge version and checked 'install missing windows components' during the installation. And that did the trick. It worked now. Thanks again.