Running pre-create checks...
Error with pre-create check: "Hyper-V is installed. VirtualBox won't boot a 64bits VM when Hyper-V is activated. If it's installed but deactivated, you can use --virtualbox-no-vtx-check to try anyways"
Looks like something went wrong in step ´Checking if machine default exists´
解决方法:
1.以管理员方式打开cmd,输入以下命令。(第二行命令参考第一行命令返回的结果)
C:\>bcdedit /copy {current} /d "No Hyper-V"
The entry was successfully copied to {ff-23-113-824e-5c5144ea}.
C:\>bcdedit /set {ff-23-113-824e-5c5144ea} hypervisorlaunchtype off
The operation completed successfully.
2.重启电脑,选择No Hyper-V 系统,进入电脑。
3.下载安装Docker Toolbox。打开安装目录,找到start.sh。
编辑start.sh,找到下面的代码片段:
"${DOCKERMACHINE}" create -d virtualbox $PROXYENV "${VM}"
#将其改为:
"${DOCKERMACHINE}" create -d virtualbox --virtualbox-no-vtx-check $PROXYENV "${VM}"
4.可以正常使用Docker Quickstart Termial了。
三、Docker for Windows 启动报错:
error: “Hardware assisted virtualization and data execution protection must be enabled in the BIOS” [closed]
解决方法: