docker-archive / toolbox

The Docker Toolbox
https://docker.com/toolbox
3.22k stars 1.23k forks source link

Error when installee docker-toolbox #867

Open diegojang opened 4 years ago

diegojang commented 4 years ago

When I installed the docker-toolbox, I encountered the error below, anyone can help?

Starting "default"... (default) Check network to re-create if needed... (default) Windows might ask for the permission to create a network adapter. Sometimes, such confirmation window is minimized in the taskbar. (default) Creating a new host-only adapter produced an error: C:\Program Files\Oracle\VirtualBox\VBoxManage.exe hostonlyif create failed: (default) 0%... (default) Progress state: E_INVALIDARG (default) VBoxManage.exe: error: Failed to create the host-only adapter (default) VBoxManage.exe: error: Assertion failed: [!aInterfaceName.isEmpty()] at 'F:\tinderbox\win-5.2\src\VBox\Main\src-server\HostNetworkInterfaceImpl.cpp' (76) in long cdecl HostNetworkInterface::init(class com::Bstr,class com::Bstr,class com::Guid,enum MIDL_MIDL_itf_VirtualBox_0000_0000_0038). (default) VBoxManage.exe: error: Please contact the product vendor! (default) VBoxManage.exe: error: Details: code E_FAIL (0x80004005), component HostNetworkInterfaceWrap, interface IHostNetworkInterface (default) VBoxManage.exe: error: Context: "enum RTEXITCODE cdecl handleCreate(struct HandlerArg *)" at line 94 of file VBoxManageHostonly.cpp (default) (default) This is a known VirtualBox bug. Let's try to recover anyway... (default) Found a new host-only adapter: "VirtualBox Host-Only Ethernet Adapter #4" (default) Windows might ask for the permission to configure a network adapter. Sometimes, such confirmation window is minimized in the taskbar. (default) Windows might ask for the permission to configure a dhcp server. Sometimes, such confirmation window is minimized in the taskbar. Unable to start the VM: C:\Program Files\Oracle\VirtualBox\VBoxManage.exe startvm default --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:03.183605 Power up failed (vrc=VERR_SUPDRV_NO_RAW_MODE_HYPER_V_ROOT, rc=E_FAIL (0X80004005)) Looks like something went wrong in step ´Checking status on default´... Press any key to continue...

diegojang commented 4 years ago

update current error message below. It seems This is a known VirtualBox bug....

(default) Check network to re-create if needed... (default) Windows might ask for the permission to create a network adapter. Sometimes, such confirmation window is minimized in the taskbar. (default) Creating a new host-only adapter produced an error: C:\Program Files\Oracle\VirtualBox\VBoxManage.exe hostonlyif create failed: (default) 0%... (default) Progress state: E_INVALIDARG (default) VBoxManage.exe: error: Failed to create the host-only adapter (default) VBoxManage.exe: error: Assertion failed: [!aInterfaceName.isEmpty()] at 'F:\tinderbox\win-5.2\src\VBox\Main\src-server\HostNetworkInterfaceImpl.cpp' (76) in long cdecl HostNetworkInterface::init(class com::Bstr,class com::Bstr,class com::Guid,enum MIDL_MIDL_itf_VirtualBox_0000_0000_0038). (default) VBoxManage.exe: error: Please contact the product vendor! (default) VBoxManage.exe: error: Details: code E_FAIL (0x80004005), component HostNetworkInterfaceWrap, interface IHostNetworkInterface (default) VBoxManage.exe: error: Context: "enum RTEXITCODE cdecl handleCreate(struct HandlerArg *)" at line 94 of file VBoxManageHostonly.cpp (default) (default) This is a known VirtualBox bug. Let's try to recover anyway... (default) Found a new host-only adapter: "VirtualBox Host-Only Ethernet Adapter #2" (default) Windows might ask for the permission to configure a network adapter. Sometimes, such confirmation window is minimized in the taskbar. (default) 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 default --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:03.256913 Power up failed (vrc=VERR_SUPDRV_NO_RAW_MODE_HYPER_V_ROOT, rc=E_FAIL (0X80004005))

manoj629 commented 4 years ago

Hi @diegojang

Which version of VirtualBox you are using , can you please use the latest one and try.

diegojang commented 4 years ago

Hi Github,

Thank you for your reply. I have solved the issue.

Best Regards! Diego


发件人: manoj629 notifications@github.com 发送时间: 2019年12月20日 9:56 收件人: docker/toolbox toolbox@noreply.github.com 抄送: diegojang diegojang@outlook.com; Mention mention@noreply.github.com 主题: Re: [docker/toolbox] Error when installee docker-toolbox (#867)

Hi @diegojanghttps://github.com/diegojang

Which version of VirtualBox you are using , can you please use the latest one and try.

― You are receiving this because you were mentioned. Reply to this email directly, view it on GitHubhttps://github.com/docker/toolbox/issues/867?email_source=notifications&email_token=AOA6XLKSCREJVN4FLFMSZJ3QZSJGTA5CNFSM4J2KOYL2YY3PNVWWK3TUL52HS4DFVREXG43VMVBW63LNMVXHJKTDN5WW2ZLOORPWSZGOEHMPFUI#issuecomment-567866065, or unsubscribehttps://github.com/notifications/unsubscribe-auth/AOA6XLKNOHDJ25BF6JIUOP3QZSJGTANCNFSM4J2KOYLQ.

vaibhavijade16 commented 4 years ago

@diegojang can you please tell me what you did to resolve this issue. I am facing a similar isuue:

Unable to start the VM: C:\Program Files\Oracle\VirtualBox\VBoxManage.exe startvm default --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

Thanks in advance.

diegojang commented 4 years ago

@vaibhavijade16 I tried to recall but it's been long time. I don't know if I remembered correctly. it seems there is software conflict with the toolbox, could be VM or Vbox if you installed before. You can try to uninstall VM/Vbox and restart and then install the toolbox again.