gpt4 book ai didi

windows - Windows 10 Pro上的Docker安装失败

转载 作者:行者123 更新时间:2023-12-02 19:00:34 26 4
gpt4 key购买 nike

我已启用hyper-v,您的Docker for Windows安装程序应启用必需的Windows功能。

每次我尝试在此Windows 10专业版计算机上安装Docker时,都会导致以下异常。我想到了其他选择,例如在WSL上安装Docker,然后意识到Docker守护程序不能直接在WSL中运行,但可以与Docker for Windows交互

Installation Failed

The flat name of the target computer could not be retrieved (2138).
at System.DirectoryServices.AccountManagement.SAMStoreCtx.LoadComputerInfo()
at System.DirectoryServices.AccountManagement.SAMStoreCtx.get_MachineUserSuppliedName()
at System.DirectoryServices.AccountManagement.SAMStoreCtx.FindNativeByNT4IdentRef(Type principalType, String urnValue)
at System.DirectoryServices.AccountManagement.SAMStoreCtx.FindPrincipalByIdentRef(Type principalType, String urnScheme, String urnValue, DateTime referenceDate)
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服务“工作站”应该可以解决此问题。
似乎只需要安装即可。:https://forums.docker.com/t/install-fails-on-windows-10/87888

启动Workstation服务:

以管理员身份打开CMD并运行以下命令:

net start workstation

https://www.windows-commandline.com/start-or-stop-workstation-service-from/

关于windows - Windows 10 Pro上的Docker安装失败,我们在Stack Overflow上找到一个类似的问题: https://stackoverflow.com/questions/60770930/

26 4 0
Copyright 2021 - 2024 cfsdn All Rights Reserved 蜀ICP备2022000587号
广告合作:1813099741@qq.com 6ren.com