報錯界面如下:
爲了使VirtualBox能夠啓動虛擬機,必須在Windows 10中關閉Hyper-V。
1、檢查Hyper-V設置
管理員模式啓動cmd,輸入命令:
bcdedit
執行後看到 hypervisorlaunchtype值爲‘Auto’:
2、關閉 hypervisorlaunchtype
管理員身份cmd下執行命令:
bcdedit / set hypervisorlaunchtype off
重啓計算機。
注意:一定要重啓,不能關閉後再開啓。
此方法使用後雖然可以打開VirtualBox,但影響了系統其他功能,如藍牙連接、熱點連接等。
3、啓用 hypervisorlaunchtype
Windows的Docker需要Hyper-V提供的硬件虛擬化,需要啓用 hypervisorlaunchtype,同樣運行如下命令:
bcdedit /set hypervisorlaunchtype auto
重啓計算機。
參考:http://pinter.org/archives/7902#comments