首页 > 解决方案 > Docker Windows 安装失败/库未注册 [Windows 10 Pro]

问题描述

我正在尝试为 Windows 10 Pro 安装 Docker。我已经下载了Docker Desktop Installer.exe,当我以管理员角色运行它时,在下载并解压缩文件后开始安装时出现以下错误。

安装失败

Library not registered.
 at System.DirectoryServices.DirectoryEntry.Bind(Boolean throwIfFail)
 at System.DirectoryServices.DirectoryEntry.Bind()
 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 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(

我已将我的 Windows 用户组更改为管理员,并且我还更新了 Windows 10。

任何帮助,将不胜感激

问候

标签: dockerwindows-10

解决方案


推荐阅读