首页 新闻 会员 周边 捐助

docker-machine 创建 virtualbox 的问题 window 10上

0
[已解决问题] 解决于 2018-03-20 20:40

错误代码如下:

$ 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))

需要怎么解决?

BUTTERAPPLE的主页 BUTTERAPPLE | 老鸟四级 | 园豆:3190
提问于:2018-03-19 23:10
< >
分享
最佳答案
0
BUTTERAPPLE | 老鸟四级 |园豆:3190 | 2018-03-20 12:10

关掉 Hyper-V 之后,重启电脑就正常了。
然后使用命令
docker-machine create --driver virtualbox node1

BUTTERAPPLE | 园豆:3190 (老鸟四级) | 2018-03-20 20:40
清除回答草稿
   您需要登录以后才能回答,未注册用户请先注册