错误代码如下:
$ docker-machine create --driver virtualbox --virtualbox-no-vtx-check node6
Running pre-create checks...
Creating machine...
(node6) Copying C:\Users\44403\.docker\machine\cache\boot2docker.iso to C:\Users\44403\.docker\machine\machines\node6\boot2docker.iso...
(node6) Creating VirtualBox VM...
(node6) Creating SSH key...
(node6) Starting the VM...
(node6) Check network to re-create if needed...
(node6) Windows might ask for the permission to configure a dhcp server. Sometimes, such confirmation window is minimized in the taskbar.
Error creating machine: Error in driver during machine creation: Unable to start the VM: C:\Program Files\Oracle\VirtualBox\VBoxManage.exe startvm node6 --type headless failed:
VBoxManage.exe: error: Raw-mode is unavailable courtesy of Hyper-V. (VERR_SUPDRV_NO_RAW_MODE_HYPER_V_ROOT)
VBoxManage.exe: error: Details: code E_FAIL (0x80004005), component ConsoleWrap, interface IConsole
Details: 00:00:01.911239 Power up failed (vrc=VERR_SUPDRV_NO_RAW_MODE_HYPER_V_ROOT, rc=E_FAIL (0X80004005))
需要怎么解决?
参考一下链接:
关掉 Hyper-V 之后,重启电脑就正常了。
然后使用命令
docker-machine create --driver virtualbox node1