无法创建 host-only 适配器 - Windows 10,Docker,VirtualBox

14

使用Docker Toolbox好一段时间后,最近我遇到了这个问题。

是在Windows更新之后出现的吗?

Windows 10 家庭版-64

卸载并重新安装Docker工具箱。

卸载并重新安装了各种版本的VirtualBox,但仍然收到相同的错误消息。

Running pre-create checks...
Creating machine...
(default) Copying C:\Users\me\.docker\machine\cache\boot2docker.iso to C:\Users\me\.docker\machine\machines\default\boot2docker.iso...
(default) Creating VirtualBox VM...
(default) Creating SSH key...
(default) Starting the VM...
(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_FAIL
(default) VBoxManage.exe: error: Failed to create the host-only adapter
(default) VBoxManage.exe: error: Querying NetCfgInstanceId failed (0x00000002)
(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 71 of file VBoxManageHostonly.cpp
(default)
(default) This is a known VirtualBox bug. Let's try to recover anyway...
Error creating machine: Error in driver during machine creation: Error setting up host only network on machine start: The host-only adapter we just created is not visible. This is a well known VirtualBox bug. You might want to uninstall it and reinstall at least version 5.0.12 that is is supposed to fix this issue
Looks like something went wrong in step ´Checking if machine default exists´... Press any key to continue...
12个回答

0

以上的解决方案对我无效,所以我单独从这里安装了Virtual Box

安装Docker时,请取消勾选Virtual Box复选框。


0

我卸载了Wireshark、Docker工具提示和VirtualBox。我也暂时停用了防病毒软件。 然后,我安装了Docker工具提示,但没有选择安装NDIS5,这对我起作用了。


网页内容由stack overflow 提供, 点击上面的
可以查看英文原文,
原文链接