安装docker报错:在 Docker.Installer.InstallWorkflow.<DoHandleD4WPackageAsync>d__30.MoveNext()_component docker.installer.enablefeaturesaction fa
国内网站能搜到的方法都没用,还得去谷歌
引用自:
Installation Problems after corruption - Docker Desktop - Docker Community Forums
Component Docker.Installer.EnableFeaturesAction failed:
在 Docker.Installer.InstallWorkflow.d__30.MoveNext()
--- 引发异常的上一位置中堆栈跟踪的末尾 ---
在 System.Runtime.ExceptionServices.ExceptionDispatchInfo.Throw() 在System.Runtime.CompilerServices.TaskAwaiter.HandleNonSuccessAndDebuggerNotification(Task task) 在 Docker.Installer.InstallWorkflow.d__23.MoveNext()
原文解决方法:I solved it (sort of). I reverted back to version 4.17.1. That also generated an error, but at least that error pointed to a solution. I went to ~\\AppData\\Roaming\\Docker and looked at all the json files. For me, settings.json was binary and not valid json. I renamed that file and Docker started up fine. Not sure if that will fic 4.18, but I’ll try again when I have time.
Deleting /Docker/ and /Docker Desktop/ folders from .appData/Docker/ before installation worked for me
本人解决方法:用Everything搜了一下DockerDesktop,我是删除了C:\\ProgramData下的DockerDesktop,里头有一个损坏的json,然后重新安装就好了