如何修复码头工人未能启动 “硬件辅助虚拟化和数据执行保护必须启用” 错误信息
The following error message occurs when starting docker
发生错误
硬件辅助虚拟化和数据执行保护必须在BIOS中启用. 见HTTPS://docs.docker.com/docker-for-windows/troubleshoot/#virtualization-must-be-enabled
为了解决这个问题,你需要确保的Hyper-V安装
Use an administrative powershell to install the Hyper-V Windows features.
- 右键单击开始按钮,然后选择Windows PowerShell中(管理员)
- 输入以下命令行到PowerShell和命中进入
dism.exe /在线/启用特征:微软的Hyper-V /所有
你可能有hypervisorlaunchtype在启动配置数据设置为关闭. 如果是这种情况,那么运行下面一行在行政PowerShell的以下.
bcdedit /set hypervisorlaunchtype auto
一旦做到这一点,需要重新启动系统和码头工人应该启动和运行正常.
