背景:運行 Docker Desktop,啟動其 Hyper-V 實例失敗
錯誤:Hardware assisted virtualization and data execution protection must be enabled in the BIOS
解決:
問題可能在於 禁用了Hyper-V 或 未運行Hypervisor代理。
解決方案A(如果Hyper-V完全禁用或未安裝)
以管理員身份打開PowerShell,啟用Hyper-V
dism.exe /Online /Enable-Feature:Microsoft-Hyper-V /All
解決方案B(如果已啟用Hyper-V功能但不起作用)
以管理員身份打開PowerShell,啟用Hypervisor
bcdedit /set hypervisorlaunchtype auto
重啟系統,測試OK。
參考資料
https://www.cnblogs.com/qaing123/p/11142563.html