簡體   English   中英

Windows 10 Pro 上的 Docker 安裝失敗

[英]Docker Installation Failure on Windows 10 Pro

我啟用了 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/

暫無
暫無

聲明:本站的技術帖子網頁,遵循CC BY-SA 4.0協議,如果您需要轉載,請注明本站網址或者原文地址。任何問題請咨詢:yoyou2525@163.com.

 
粵ICP備18138465號  © 2020-2024 STACKOOM.COM