英文:
Unable to Start Docker Desktop on Windows 10
问题
我在尝试启动Windows 10上的Docker Desktop时遇到以下错误:
“无法停止 - 因首选变量“ErrorActionPreference”或常见参数设置为Stop而停止运行的命令:由于以下错误,无法启动服务'Hyper-V Host Compute Service (vmcompute)':无法在计算机'.'上启动服务vmcompute。”
英文:
I was getting bellow error while trying to start Docker Desktop on Windows 10.
Unable to stop - The running command stopped because the preference variable "ErrorActionPreference" or common parameter is set to Stop: Service 'Hyper-V Host Compute Service (vmcompute)' cannot be started due to the following error: Cannot start service vmcompute on computer '.'.
答案1
得分: 3
请按照此问题中提到的步骤**(1-8)**执行。
希望对您有所帮助!
-Kunal
答案2
得分: 2
这是一个已知的问题。
"Hyper-V主机计算服务"在更新Windows 10的最新安全补丁后不会启动,这会导致重新启动后Docker启动失败。
尝试以下步骤-
打开"Windows安全"
"应用程序和浏览器控制"
在底部点击"利用保护设置"
切换到"程序设置"选项卡
在列表中找到"C:\WINDOWS\System32\vmcompute.exe"并展开它
点击"编辑"
滚动到"代码流保护 (CFG)"并取消选中"覆盖系统设置"
从PowerShell中启动vmcompute:"net start vmcompute"
英文:
This is a known issue .
"Hyper-V Host Compute Service" does not start after updating Windows 10 with latest security patches and this caused docker start failures after reboot.
Try out the steps mentioned below-
-
> Open "Window Security"
>
> - "App & Browser control"
>
> - Click "Exploit protection settings" at the bottom
>
> - Switch to "Program settings" tab
>
> - Locate "C:\WINDOWS\System32\vmcompute.exe" in the list and expand it
>
> - Click "Edit"
>
> - Scroll down to "Code flow guard (CFG)" and uncheck "Override system settings"
>
> - Start vmcompute from powershell "net start vmcompute"
答案3
得分: -2
在Docker图标上,右键单击并选择“故障排除”。然后点击“恢复为出厂设置”,
英文:
On the docker icon, right click and click trobleshoot. Click on "Reset to factory defaults",
通过集体智慧和协作来改善编程学习和解决问题的方式。致力于成为全球开发者共同参与的知识库,让每个人都能够通过互相帮助和分享经验来进步。
评论