解决WIN10专业版安装docker报错:Component Docker.Installer.EnableFeaturesAction failed

2025年 9月 5日 32点热度 0人点赞 0条评论

报错如下

Docker Desktop 4.45.0
Installation failed
Component Docker.Installer.EnableFeaturesAction failed:找不到
在Docker.installer,InstallWorkfow.<DoHandleD4WPackageAsync>d 30.MoveNext()…引发异常的上一位固中堆栈跟踪的末尾…在System,Runtime.ExceptlonServices.ExceptlonDispatchinfo.Throw()在 System,Runtime.CompilerServices,TaskAwalter.HandleNonSuccessAndDebuggerNotification(Task task)在Docker.Installer.InstallWorkfow.<ProcessAsync>d 25.MoveNext()

解决办法:

控制面板-》程序-》启用或关闭windows功能-》勾选【适用于Linux的Windows子系统】

注意:无需再勾选Hyper-V的功能,因为docker 安装时有默认勾选推荐设置:

Use WSL 2 instead of Hyper-V (recommended):使用WSL2而不是Hyper-V(推荐)

admin

这个人很懒,什么都没留下