【发布时间】:2021-03-29 04:29:36
【问题描述】:
我已经从官方来源下载了最新版本的 Docker Desktop,我正在尝试安装到新的生产服务器上。创建服务时安装似乎失败,尽管当我检查 Docker Desktop 服务存在但不会启动(因为一旦安装失败,Docker Desktop 会删除所有已安装的文件)。
我基本上看不到有关失败原因的任何信息。据我所知,我已经安装了所有先决条件。以下是上次失败尝试的安装日志:
Started on: 2020/12/18 13:20:52.776
File: C:\Users\willc\AppData\Local\Docker\install-log.txt
CommandLine: "C:\Users\willc\Desktop\Docker Desktop Installer.exe"
[13:20:52.792][ManifestAndExistingInstallationLoader] No install path specified, looking for default installation registry key
[13:20:52.792][Program] No installation found
[13:20:52.886][InstallWorkflow] Using package: res:DockerDesktop
[13:20:52.886][InstallWorkflow] Downloading
[13:21:02.214][InstallWorkflow] Extracting manifest
[13:21:04.132][InstallWorkflow] Manifest found: version=50684, displayVersion=3.0.0, channelUrl=https://desktop.docker.com/win/stable/appcast.xml
[13:21:04.133][InstallWorkflow] Checking prerequisites
[13:21:05.110][InstallWorkflow] Prompting for optional features
[13:21:11.067][InstallWorkflow] Unpacking artifacts
[13:23:27.010][InstallWorkflow] Deploying component CommunityInstaller.CreateGroupAction
[13:23:27.121][InstallWorkflow] Deploying component CommunityInstaller.AddToGroupAction
[13:23:27.130][InstallWorkflow] Deploying component CommunityInstaller.EnableFeaturesAction
[13:23:29.224][InstallWorkflow] Deploying component CommunityInstaller.ServiceAction
[13:23:29.228][InstallWorkflow-ServiceAction] Removing service
[13:23:29.234][InstallWorkflow-ServiceAction] Creating service
[13:23:59.288][InstallWorkflow] Installation failed
Exception type: System.Exception, Exception message: Component CommunityInstaller.ServiceAction failed: Failed to start service: The service did not respond to the start or control request in a timely fashion, StackTrace:
at CommunityInstaller.InstallWorkflow.<DoHandleD4WPackageAsync>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.<DoProcessAsync>d__23.MoveNext()
[13:23:59.292][InstallWorkflow] Rollbacking component CommunityInstaller.EnableFeaturesAction
[13:23:59.294][InstallWorkflow] Rollbacking component CommunityInstaller.AddToGroupAction
[13:23:59.296][InstallWorkflow] Rollbacking component CommunityInstaller.CreateGroupAction
[13:23:59.298][InstallWorkflow] Rollbacking component CommunityInstaller.UnpackArtifactsStep
[13:23:59.307][FileSystem] Deleting C:\Program Files\Docker\Docker
[13:23:59.703][FileSystem] Deleted C:\Program Files\Docker\Docker successfully
[13:23:59.704][InstallWorkflow] Rollbacking component CommunityInstaller.ExtractManifestStep
[13:23:59.705][InstallWorkflow] Rollbacking component CommunityInstaller.DownloadStep
有没有人经历过类似的事情?
【问题讨论】:
-
我遇到了同样的问题,遗憾的是我无法解决它。在此处查看一些建议:github.com/docker/for-win/issues/6091.
标签: windows docker server docker-desktop windows-server-2019