我最近在使用docker工具箱一段時間沒有問題後遇到了這個問題。無法創建主機專用適配器 - windows 10,docker,virtualbox
Windows更新後開始發生?
的Windows 10家 - 64
卸載和重新泊塢窗工具箱
卸載並重新安裝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...
我沒有使用Docker,而且我在Windows 7 x64上,以前從未遇到過這個問題。但是我剛將VirtualBox從5.2.4升級到5.2.6,並且開始接受'無法在'vagrant up'上創建僅主機適配器',無論是使用新的還是現有的VM。卸載/重新安裝/修復VirtualBox沒有任何作用,但是感謝你的帖子,我想在Windows 7中查看Control Panel \ Network and Internet \ Network Connections,並且VirtualBox一直使用的兩個僅限主機的適配器是灰色(禁用)!我只需右鍵點擊它們,重新啓用它們,就可以參加比賽了! –
@BenJohnson嗯,我很高興我的(非常長)的帖子對你有幫助:)在我的閱讀中,我已經遇到過幾次你的特殊場景。另一個常見問題似乎是「VirtualBox NDIS6橋接網絡驅動程序」在適配器上未啓用。 – bszom
就我而言,重啓也很有可能解決了問題。變量太多... – bszom