解决 window 10 安装 docker 出现的Component CommunityInstaller.EnableFeaturesAction failed: Not found

首先 docker官网

docker 官网https://www.docker.com/解决 window 10 安装 docker 出现的Component CommunityInstaller.EnableFeaturesAction failed: Not found_第1张图片

安装docker会出现如下问题:

Component CommunityInstaller.EnableFeaturesAction failed: Not found 
   at CommunityInstaller.InstallWorkflow.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.d__23.MoveNext()

 解决办法:

首先删除如下文件夹

~/AppData/Local/Docker
~/AppData/Roaming/Docker
C:\ProgramData\Docker
C:\Program Files\Docker

在右键 window点击箭头位置

解决 window 10 安装 docker 出现的Component CommunityInstaller.EnableFeaturesAction failed: Not found_第2张图片

 运行如下命令:

sc config winmgmt start= disabled
net stop winmgmt
Winmgmt /salvagerepository %windir%\System32\wbem
Winmgmt /resetrepository %windir%\System32\wbem
sc config winmgmt start= auto

接着 reboot重启 即可

解决 window 10 安装 docker 出现的Component CommunityInstaller.EnableFeaturesAction failed: Not found_第3张图片

你可能感兴趣的:(Java毕生所学,docker,容器,运维)