在Windows 10中安装Docker Desktop时出错。

Posted

tags:

篇首语:本文由小常识网(cha138.com)小编为大家整理,主要介绍了在Windows 10中安装Docker Desktop时出错。相关的知识,希望对你有一定的参考价值。

Failed to start service: The service did not respond to the start or control request in a timely fashion
   at CommunityInstaller.Service.Service.<StartAsync>d__4.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 CommunityInstaller.Service.Manager.<AddServiceAsync>d__7.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 CommunityInstaller.ServiceAction.<DoAsync>d__36.MoveNext()
--- End of stack trace from previous location where exception was thrown ---
   at System.Runtime.ExceptionServices.ExceptionDispatchInfo.Throw()
   at CommunityInstaller.InstallWorkflow.<HandleD4WPackageAsync>d__29.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 CommunityInstaller.InstallWorkflow.<ProcessAsync>d__24.MoveNext()
答案

我也有同样的问题,似乎在最后一次窗口更新后才开始发生。

我通过停止并禁用 "Power"(电源管理)窗口服务来解决这个问题。我重复了两次这个过程,似乎是一个一致的问题,至少在我的情况下。要确保这个服务没有运行,至少在我的情况下,它的工作,希望这有助于。

一些参考资料:- https:/github.comdockerfor-winissues6091。

以上是关于在Windows 10中安装Docker Desktop时出错。的主要内容,如果未能解决你的问题,请参考以下文章

Windows10 Docker安装详细教程

在Windows Docker中安装MySQL

在win10 docker启动的centos容器中安装nginx

Linux中安装Docker,在Docker中安装MySQL和Redis并在Windows下连接访问

win10子系统ubuntu中安装docker

wsl中安装docker