我已经从官方源码下载了最新版本的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有没有人有过类似的经历?
发布于 2021-01-30 18:41:56
所以答案很简单,Docker Desktop不能安装到windows服务器上,我花了一段时间才在官方网站上找到这个信息。
我们剩下的选项是Docker Enterprise或Azure Docker。
https://stackoverflow.com/questions/65358386
复制相似问题