简体   繁体   English

在 Windows 10 上安装 Docker

[英]Docker installation on Windows 10

I am trying to install Docker on Windows 10 Enterprise Edition but got following exception.我正在尝试在 Windows 10 企业版上安装 Docker,但出现以下异常。

Installation failed安装失败

The Server service is not started.

   at System.DirectoryServices.DirectoryEntry.RefreshCache()
   at System.DirectoryServices.AccountManagement.PrincipalContext.DoMachineInit()
   at System.DirectoryServices.AccountManagement.PrincipalContext.Initialize()
   at System.DirectoryServices.AccountManagement.PrincipalContext.get_QueryCtx()
   at System.DirectoryServices.AccountManagement.Principal.FindByIdentityWithTypeHelper(PrincipalContext context, Type principalType, Nullable`1 identityType, String identityValue, DateTime refDate)
   at System.DirectoryServices.AccountManagement.Principal.FindByIdentityWithType(PrincipalContext context, Type principalType, String identityValue)
   at System.DirectoryServices.AccountManagement.GroupPrincipal.FindByIdentity(PrincipalContext context, String identityValue)
   at CommunityInstaller.CreateGroupAction.<DoAsync>b__33_0()
   at System.Threading.Tasks.Task.Execute()
--- 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.<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()

Please help me on this.请帮我解决这个问题。 Thanks谢谢

you have to go to services app and start server service if it disabled like the pic如果像图片那样禁用,您必须转到services应用程序并启动server服务在此处输入图片说明

you should start by double click on server service and choose automatic and press okay您应该首先双击server服务并选择自动并按确定在此处输入图片说明

and it will work with u它会和你一起工作

There can be any issues.可能有任何问题。 One issue could because the windows service Server was disabled.一个问题可能是因为 Windows 服务Server被禁用。 FIX: Enable it and start on Service App.修复:启用它并在服务应用程序上启动。

声明:本站的技术帖子网页,遵循CC BY-SA 4.0协议,如果您需要转载,请注明本站网址或者原文地址。任何问题请咨询:yoyou2525@163.com.

 
粤ICP备18138465号  © 2020-2024 STACKOOM.COM