Goh*_*wks 9 docker windows-subsystem-for-linux
在 Windows 10 版本 2004(操作系统内部版本 19041.1415)上,我在安装适用于 Ubuntu 的 WSL2 后尝试安装 docker 桌面 4.5.0。重新启动后我反复尝试,但这个问题并没有消失。任何人都可以透露一些信息吗?
Component CommunityInstaller.EnableFeaturesAction failed: Not found
at CommunityInstaller.InstallWorkflow.<DoHandleD4WPackageAsync>d__30.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__24.MoveNext()
Run Code Online (Sandbox Code Playgroud)
完整日志:
OS: Windows 10 Enterprise
Edition: Enterprise
Id: 2004
Build: 19041
BuildLabName: 19041.1.amd64fre.vb_release.191206-1406
File: C:\Users\naus-ad-xxx\AppData\Local\Docker\install-log.txt
CommandLine: "C:\Users\xxx\Downloads\Docker Desktop Installer(1).exe" "install" -package "res:DockerDesktop" --relaunch-as-admin
You can send feedback, including this log file, at https://github.com/docker/for-win/issues
[11:23:53.421][ManifestAndExistingInstallationLoader][Info ] No install path specified, looking for default installation registry key
[11:23:53.421][Program ][Info ] No installation found
[11:23:53.784][InstallWorkflow ][Info ] Cancel pending background download
[11:23:53.822][BackgroundTransfer][Info ] Cancel current background transfer job
[11:23:54.856][InstallWorkflow ][Info ] Using package: res:DockerDesktop
[11:23:54.856][InstallWorkflow ][Info ] Downloading
[11:23:57.240][InstallWorkflow ][Info ] Extracting manifest
Failed to track the installer started event[11:23:57.643][InstallWorkflow ][Info ] Manifest found: version=74594, displayVersion=4.5.0, channelUrl=https://desktop.docker.com/win/main/amd64/appcast.xml
[11:23:57.643][InstallWorkflow ][Info ] Checking prerequisites
[11:23:57.666][InstallWorkflow ][Info ] Prompting for optional features
[11:23:59.863][InstallWorkflow ][Info ] Unpacking artifacts
[11:26:07.556][InstallWorkflow ][Info ] Deploying component CommunityInstaller.CreateGroupAction
[11:26:10.120][InstallWorkflow ][Info ] Deploying component CommunityInstaller.AddToGroupAction
[11:26:10.130][InstallWorkflow ][Info ] Deploying component CommunityInstaller.EnableFeaturesAction
**[11:26:10.181][InstallWorkflow ][Error ] Installation failed
Exception type: System.Exception, Exception message: Component CommunityInstaller.EnableFeaturesAction failed: Not found , StackTrace:
at CommunityInstaller.InstallWorkflow.<DoHandleD4WPackageAsync>d__30.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__24.MoveNext()**
[11:26:10.185][InstallWorkflow ][Info ] Rollbacking component CommunityInstaller.AddToGroupAction
[11:26:10.186][InstallWorkflow ][Info ] Rollbacking component CommunityInstaller.CreateGroupAction
[11:26:10.186][InstallWorkflow ][Info ] Rollbacking component CommunityInstaller.UnpackArtifactsStep
[11:26:10.194][FileSystem ][Info ] Deleting C:\Program Files\Docker\Docker
[11:26:10.761][FileSystem ][Info ] Deleted C:\Program Files\Docker\Docker successfully
[11:26:10.761][InstallWorkflow ][Info ] Rollbacking component CommunityInstaller.ExtractManifestStep
[11:26:10.764][InstallWorkflow ][Info ] Rollbacking component CommunityInstaller.DownloadStep
Run Code Online (Sandbox Code Playgroud)
Nam*_*yev 27
就我而言,问题出在 Windows Management Instrumentation (WMI) 上
以管理员身份在 cmd 中运行此命令修复了问题:
CD C:\Windows\System32\WBEM && dir /b *.mof *.mfl | findstr /v /i uninstall > moflist.txt & for /F %s in (moflist.txt) do mofcomp %s
Run Code Online (Sandbox Code Playgroud)
我从这篇文章中得到了这个命令
小智 18
我在 4.9.0 上遇到了类似的问题,并尝试安装 4.0.0 但我的问题没有解决。我从 c 驱动器(C:\ProgramData\DockerDesktop、C:\Program Files\Docker)中删除了跟踪并尝试再次安装,但没有成功。后来我发现论坛讨论这个问题。( https://github.com/docker/for-win/issues/1857 ) 重复以管理员身份运行的 Windows 命令提示符中的步骤。
这个步骤帮助我安装了 docker 4.9.0
我也遇到了同样的问题,在安装最新版本 4.5.0(已于 2022 年 2 月 10 日发布)时尝试降级到版本 4.4.4,它对我有用。
您可以在此Docker for Windows上找到已发布的说明和旧版本
注意:您可以安装旧版本并更新到最新版本 4.5.0
| 归档时间: |
|
| 查看次数: |
26462 次 |
| 最近记录: |