Failed to create the host-only adapter #4066
Comments
I am having the exact same issue! |
Same here: windows 10 home 64bit latest toolbox and latest virtualbox |
Same. Arch Linux x64, VirtualBox 5.1.22 |
Same on W10 64 bits |
Same here. Having exactly the same issue! |
same here.. does anyone found solution ? Arch User |
I managed to get it to work. Hope the approach I have followed works for everyone else. After removing docker's AppData and reinstalling both Virtualbox and Docker Toolbox, I figured that if I force Docker Quickstart Terminal to run with Administrator privileges (right from the start of the execution, rather than have the default prompt appear after its execution), it was able to create things correctly. Similarly, Virtualbox was unable to interact or see the docker-related VM unless if started with administrator privileges. Afterwards it was working as it should. |
I had the same issue after a VirtualBox Upgrade. Rebooting the PC did it for me. Basically, running Docker Toolbox after a VirtualBox upgrade (5.22 to 5.24 for me) requires a reboot after installing the upgraded version, even though there is no such mention from VirtualBox. After that everything worked fine and Docker-Machine was able to create network adapter and DHCP server without running it as admin (Windows did ask for my permission though). |
Same issue. After a reboot everything works fine. |
rebooting did not work for me . i still get this error on macOS High Sierra |
I think installing a newer version of Java solved my issue. |
@cjmash was getting same problem, issue for me turned out to be a bad install. Uninstalled everything (running uninstall script for virtual box, dragging docker to the trash, and removed |
With VirtualBox 5.2.4, High Sierra
Resolved by rebooting the machine. |
Restarting helped in following environment.
|
This was driving me nuts. |
Banging my head against this. No luck so far. Windows 10 Home 64-bit Things I've tried: All give the same error message. Not sure what else to try. |
@AleCaste : Does VirtualBox depend on java? |
never got docker running on windows. smh |
on restart and reinstall removed the programfiles/docker/docker Toolbox folder. its started working then. dont know why |
VirtualBox 5.2.8, same here, reboot does not solve this. |
On Mac, the Virtualbox instlall is not properly integrated -- so it asks for a permission after it fails. Simply re-run the installation for a second time after having granted the OS driver the install permission. No need for uninstalls. |
This has worked for me (macOS High Sierra):
|
@dorkolog - Your instructions worked perfectly. However I had to get 5.2.4 via this link: https://download.virtualbox.org/virtualbox/5.2.4/ |
Uninstall and reinstalling VirtualBox worked for me on macOS High Sierra |
I had the same issue, in linux mint Sylvia. As it suggested, just updated the virtualbox. |
Trying to launch Kitematic on Mac High Sierra. I did @marcstreeter's suggestions, and I still get the error. Removed Docker and Virtualbox completely (not just the app, but the Then installed Docker for Mac 18.03.1-ce-mac65. Resulting error: Command failed: /usr/local/bin/docker-machine -D start default,Docker Machine Version: 0.14.0, build 89b8332,Found binary path at /usr/local/bin/docker-machine,Launching plugin server for driver virtualbox,Plugin server listening at address 127.0.0.1:50008,() Calling .GetVersion,Using API Version 1,() Calling .SetConfigRaw,() Calling .GetMachineName,command=start machine=default,(default) Calling .GetState,(default) DBG | COMMAND: /usr/local/bin/VBoxManage showvminfo default --machinereadable,(default) DBG | STDOUT:,(default) DBG | {,(default) DBG | name="default",(default) DBG | groups="/",(default) DBG | ostype="Linux 2.6 / 3.x / 4.x (64-bit)",(default) DBG | UUID="435ed845-0351-4c62-9355-b05eee266411",(default) DBG | CfgFile="/Users/anatomboulian/.docker/machine/machines/default/default/default.vbox",(default) DBG | SnapFldr="/Users/anatomboulian/.docker/machine/machines/default/default/Snapshots",(default) DBG | LogFldr="/Users/anatomboulian/.docker/machine/machines/default/default/Logs",(default) DBG | hardwareuuid="435ed845-0351-4c62-9355-b05eee266411",(default) DBG | memory=2048,(default) DBG | pagefusion="off",(default) DBG | vram=8,(default) DBG | cpuexecutioncap=100,(default) DBG | hpet="on",(default) DBG | chipset="piix3",(default) DBG | firmware="BIOS",(default) DBG | cpus=1,(default) DBG | pae="on",(default) DBG | longmode="on",(default) DBG | triplefaultreset="off",(default) DBG | apic="on",(default) DBG | x2apic="off",(default) DBG | cpuid-portability-level=0,(default) DBG | bootmenu="disabled",(default) DBG | boot1="dvd",(default) DBG | boot2="dvd",(default) DBG | boot3="disk",(default) DBG | boot4="none",(default) DBG | acpi="on",(default) DBG | ioapic="on",(default) DBG | biosapic="apic",(default) DBG | biossystemtimeoffset=0,(default) DBG | rtcuseutc="on",(default) DBG | hwvirtex="on",(default) DBG | nestedpaging="on",(default) Calling .Start,(default) DBG | largepages="on",(default) DBG | vtxvpid="on",(default) DBG | vtxux="on",(default) DBG | paravirtprovider="default",(default) DBG | effparavirtprovider="kvm",(default) DBG | VMState="poweroff",(default) DBG | VMStateChangeTime="2018-06-20T19:08:22.000000000",(default) DBG | monitorcount=1,(default) DBG | accelerate3d="off",(default) DBG | accelerate2dvideo="off",(default) DBG | teleporterenabled="off",(default) DBG | teleporterport=0,(default) DBG | teleporteraddress="",(default) DBG | teleporterpassword="",(default) DBG | tracing-enabled="off",(default) DBG | tracing-allow-vm-access="off",(default) DBG | tracing-config="",(default) DBG | autostart-enabled="off",(default) DBG | autostart-delay=0,(default) DBG | defaultfrontend="",(default) DBG | storagecontrollername0="SATA",(default) DBG | storagecontrollertype0="IntelAhci",(default) DBG | storagecontrollerinstance0="0",(default) DBG | storagecontrollermaxportcount0="30",(default) DBG | storagecontrollerportcount0="30",(default) DBG | storagecontrollerbootable0="on",(default) DBG | "SATA-0-0"="/Users/anatomboulian/.docker/machine/machines/default/boot2docker.iso",(default) DBG | "SATA-ImageUUID-0-0"="4dfe6f4d-b250-4043-8dfa-2fe8a7d7493e",(default) DBG | "SATA-tempeject"="off",(default) DBG | "SATA-IsEjected"="off",(default) DBG | "SATA-1-0"="/Users/anatomboulian/.docker/machine/machines/default/disk.vmdk",(default) DBG | "SATA-ImageUUID-1-0"="75c709e5-deeb-4671-ae8b-1ae6357ebe4d",(default) DBG | "SATA-2-0"="none",(default) DBG | "SATA-3-0"="none",(default) DBG | "SATA-4-0"="none",(default) DBG | "SATA-5-0"="none",(default) DBG | "SATA-6-0"="none",(default) DBG | "SATA-7-0"="none",(default) DBG | "SATA-8-0"="none",(default) DBG | "SATA-9-0"="none",(default) DBG | "SATA-10-0"="none",(default) DBG | "SATA-11-0"="none",(default) DBG | "SATA-12-0"="none",(default) DBG | "SATA-13-0"="none",(default) DBG | "SATA-14-0"="none",(default) DBG | "SATA-15-0"="none",(default) DBG | "SATA-16-0"="none",(default) DBG | "SATA-17-0"="none",(default) DBG | "SATA-18-0"="none",(default) DBG | "SATA-19-0"="none",(default) DBG | "SATA-20-0"="none",(default) DBG | "SATA-21-0"="none",(default) DBG | "SATA-22-0"="none",(default) DBG | "SATA-23-0"="none",(default) DBG | "SATA-24-0"="none",(default) DBG | "SATA-25-0"="none",(default) DBG | "SATA-26-0"="none",(default) DBG | "SATA-27-0"="none",(default) DBG | "SATA-28-0"="none",(default) DBG | "SATA-29-0"="none",(default) DBG | natnet1="nat",(default) DBG | macaddress1="080027189E56",(default) DBG | cableconnected1="on",(default) DBG | nic1="nat",(default) DBG | nictype1="82540EM",(default) DBG | nicspeed1="0",(default) DBG | mtu="0",(default) DBG | sockSnd="64",(default) DBG | sockRcv="64",(default) DBG | tcpWndSnd="64",(default) DBG | tcpWndRcv="64",(default) DBG | nic2="none",(default) DBG | nic3="none",(default) DBG | nic4="none",(default) DBG | nic5="none",(default) DBG | nic6="none",(default) DBG | nic7="none",(default) DBG | nic8="none",(default) DBG | hidpointing="ps2mouse",(default) DBG | hidkeyboard="ps2kbd",(default) DBG | uart1="off",(default) DBG | uart2="off",(default) DBG | uart3="off",(default) DBG | uart4="off",(default) DBG | lpt1="off",(default) DBG | lpt2="off",(default) DBG | audio="coreaudio",(default) DBG | audio_in="false",(default) DBG | audio_out="false",(default) DBG | clipboard="disabled",(default) DBG | draganddrop="disabled",(default) DBG | vrde="off",(default) DBG | usb="off",(default) DBG | ehci="off",(default) DBG | xhci="off",(default) DBG | SharedFolderNameMachineMapping1="Users",(default) DBG | SharedFolderPathMachineMapping1="/Users",(default) DBG | videocap="off",(default) DBG | videocap_audio="off",(default) DBG | videocapscreens=0,(default) DBG | videocapfile="/Users/anatomboulian/.docker/machine/machines/default/default/default.webm",(default) DBG | videocapres=1024x768,(default) DBG | videocaprate=512,(default) DBG | videocapfps=25,(default) DBG | videocapopts=,(default) DBG | GuestMemoryBalloon=0,(default) DBG | },(default) DBG | STDERR:,(default) DBG | {,(default) DBG | },(default) DBG | COMMAND: /usr/local/bin/VBoxManage showvminfo default --machinereadable,(default) DBG | STDOUT:,(default) DBG | {,(default) DBG | name="default",(default) DBG | groups="/",(default) DBG | ostype="Linux 2.6 / 3.x / 4.x (64-bit)",(default) DBG | UUID="435ed845-0351-4c62-9355-b05eee266411",(default) DBG | CfgFile="/Users/anatomboulian/.docker/machine/machines/default/default/default.vbox",(default) DBG | SnapFldr="/Users/anatomboulian/.docker/machine/machines/default/default/Snapshots",(default) DBG | LogFldr="/Users/anatomboulian/.docker/machine/machines/default/default/Logs",(default) DBG | hardwareuuid="435ed845-0351-4c62-9355-b05eee266411",(default) DBG | memory=2048,(default) DBG | pagefusion="off",(default) DBG | vram=8,(default) DBG | cpuexecutioncap=100,(default) DBG | hpet="on",(default) DBG | chipset="piix3",(default) DBG | firmware="BIOS",(default) DBG | cpus=1,(default) DBG | pae="on",(default) DBG | longmode="on",(default) DBG | triplefaultreset="off",(default) DBG | apic="on",(default) DBG | x2apic="off",(default) DBG | cpuid-portability-level=0,(default) DBG | bootmenu="disabled",(default) DBG | boot1="dvd",(default) DBG | boot2="dvd",(default) DBG | boot3="disk",(default) DBG | boot4="none",(default) DBG | acpi="on",(default) DBG | ioapic="on",(default) DBG | biosapic="apic",(default) DBG | biossystemtimeoffset=0,(default) DBG | rtcuseutc="on",(default) DBG | hwvirtex="on",(default) DBG | nestedpaging="on",(default) DBG | largepages="on",(default) DBG | vtxvpid="on",(default) DBG | vtxux="on",(default) DBG | paravirtprovider="default",(default) DBG | effparavirtprovider="kvm",(default) DBG | VMState="poweroff",(default) DBG | VMStateChangeTime="2018-06-20T19:08:22.000000000",(default) DBG | monitorcount=1,(default) DBG | accelerate3d="off",(default) DBG | accelerate2dvideo="off",(default) DBG | teleporterenabled="off",(default) DBG | teleporterport=0,(default) DBG | teleporteraddress="",(default) DBG | teleporterpassword="",(default) DBG | tracing-enabled="off",(default) DBG | tracing-allow-vm-access="off",(default) DBG | tracing-config="",(default) DBG | autostart-enabled="off",(default) DBG | autostart-delay=0,(default) DBG | defaultfrontend="",(default) DBG | storagecontrollername0="SATA",(default) DBG | storagecontrollertype0="IntelAhci",(default) DBG | storagecontrollerinstance0="0",(default) DBG | storagecontrollermaxportcount0="30",(default) DBG | storagecontrollerportcount0="30",(default) DBG | storagecontrollerbootable0="on",(default) DBG | "SATA-0-0"="/Users/anatomboulian/.docker/machine/machines/default/boot2docker.iso",(default) DBG | "SATA-ImageUUID-0-0"="4dfe6f4d-b250-4043-8dfa-2fe8a7d7493e",(default) DBG | "SATA-tempeject"="off",(default) DBG | "SATA-IsEjected"="off",(default) DBG | "SATA-1-0"="/Users/anatomboulian/.docker/machine/machines/default/disk.vmdk",(default) DBG | "SATA-ImageUUID-1-0"="75c709e5-deeb-4671-ae8b-1ae6357ebe4d",(default) DBG | "SATA-2-0"="none",(default) DBG | "SATA-3-0"="none",(default) DBG | "SATA-4-0"="none",(default) DBG | "SATA-5-0"="none",(default) DBG | "SATA-6-0"="none",(default) DBG | "SATA-7-0"="none",(default) DBG | "SATA-8-0"="none",(default) DBG | "SATA-9-0"="none",(default) DBG | "SATA-10-0"="none",(default) DBG | "SATA-11-0"="none",(default) DBG | "SATA-12-0"="none",(default) DBG | "SATA-13-0"="none",(default) DBG | "SATA-14-0"="none",(default) DBG | "SATA-15-0"="none",(default) DBG | "SATA-16-0"="none",(default) DBG | "SATA-17-0"="none",(default) DBG | "SATA-18-0"="none",(default) DBG | "SATA-19-0"="none",(default) DBG | "SATA-20-0"="none",(default) DBG | "SATA-21-0"="none",(default) DBG | "SATA-22-0"="none",(default) DBG | "SATA-23-0"="none",(default) DBG | "SATA-24-0"="none",(default) DBG | "SATA-25-0"="none",(default) DBG | "SATA-26-0"="none",(default) DBG | "SATA-27-0"="none",(default) DBG | "SATA-28-0"="none",(default) DBG | "SATA-29-0"="none",(default) DBG | natnet1="nat",(default) DBG | macaddress1="080027189E56",(default) DBG | cableconnected1="on",(default) DBG | nic1="nat",(default) DBG | nictype1="82540EM",(default) DBG | nicspeed1="0",(default) DBG | mtu="0",(default) DBG | sockSnd="64",(default) DBG | sockRcv="64",(default) DBG | tcpWndSnd="64",(default) DBG | tcpWndRcv="64",(default) DBG | nic2="none",(default) DBG | nic3="none",(default) DBG | nic4="none",(default) DBG | nic5="none",(default) DBG | nic6="none",(default) DBG | nic7="none",(default) DBG | nic8="none",(default) DBG | hidpointing="ps2mouse",(default) DBG | hidkeyboard="ps2kbd",(default) DBG | uart1="off",(default) DBG | uart2="off",(default) DBG | uart3="off",(default) DBG | uart4="off",(default) DBG | lpt1="off",(default) DBG | lpt2="off",(default) DBG | audio="coreaudio",(default) DBG | audio_in="false",(default) DBG | audio_out="false",(default) DBG | clipboard="disabled",(default) DBG | draganddrop="disabled",(default) DBG | vrde="off",(default) DBG | usb="off",(default) DBG | ehci="off",(default) DBG | xhci="off",(default) DBG | SharedFolderNameMachineMapping1="Users",(default) DBG | SharedFolderPathMachineMapping1="/Users",(default) DBG | videocap="off",(default) DBG | videocap_audio="off",(default) DBG | videocapscreens=0,(default) DBG | videocapfile="/Users/anatomboulian/.docker/machine/machines/default/default/default.webm",(default) DBG | videocapres=1024x768,(default) DBG | videocaprate=512,(default) DBG | videocapfps=25,(default) DBG | videocapopts=,(default) DBG | GuestMemoryBalloon=0,(default) DBG | },(default) DBG | STDERR:,(default) DBG | {,(default) DBG | },(default) DBG | COMMAND: /usr/local/bin/VBoxManage list hostonlyifs,(default) DBG | STDOUT:,(default) DBG | {,(default) DBG | },(default) DBG | STDERR:,(default) DBG | {,(default) DBG | },(default) DBG | Searching for hostonly interface for IPv4: 192.168.99.1 and Mask: ffffff00,(default) DBG | Not found,(default) DBG | COMMAND: /usr/local/bin/VBoxManage hostonlyif create,(default) DBG | STDOUT:,(default) DBG | {,(default) DBG | },(default) DBG | STDERR:,(default) DBG | {,(default) DBG | 0%...,(default) DBG | Progress state: NS_ERROR_FAILURE,(default) DBG | VBoxManage: error: Failed to create the host-only adapter,(default) DBG | VBoxManage: error: VBoxNetAdpCtl: Error while adding new interface: failed to open /dev/vboxnetctl: No such file or directory,(default) DBG | VBoxManage: error: Details: code NS_ERROR_FAILURE (0x80004005), component HostNetworkInterfaceWrap, interface IHostNetworkInterface,(default) DBG | VBoxManage: error: Context: "RTEXITCODE handleCreate(HandlerArg *)" at line 94 of file VBoxManageHostonly.cpp,(default) DBG | },(default) DBG | COMMAND: /usr/local/bin/VBoxManage list hostonlyifs,(default) DBG | STDOUT:,(default) DBG | {,(default) DBG | },(default) DBG | STDERR:,(default) DBG | {,(default) DBG | },(default) DBG | COMMAND: /usr/local/bin/VBoxManage list hostonlyifs,(default) DBG | STDOUT:,(default) DBG | {,(default) DBG | },(default) DBG | STDERR:,(default) DBG | {,(default) DBG | },(default) DBG | COMMAND: /usr/local/bin/VBoxManage list hostonlyifs,(default) DBG | STDOUT:,(default) DBG | {,(default) DBG | },(default) DBG | STDERR:,(default) DBG | {,(default) DBG | },(default) DBG | COMMAND: /usr/local/bin/VBoxManage list hostonlyifs,(default) DBG | STDOUT:,(default) DBG | {,(default) DBG | },(default) DBG | STDERR:,(default) DBG | {,(default) DBG | },(default) DBG | COMMAND: /usr/local/bin/VBoxManage list hostonlyifs,(default) DBG | STDOUT:,(default) DBG | {,(default) DBG | },(default) DBG | STDERR:,(default) DBG | {,(default) DBG | },(default) DBG | COMMAND: /usr/local/bin/VBoxManage list hostonlyifs,(default) DBG | STDOUT:,(default) DBG | {,(default) DBG | },(default) DBG | STDERR:,(default) DBG | {,(default) DBG | },(default) DBG | COMMAND: /usr/local/bin/VBoxManage list hostonlyifs,(default) DBG | STDOUT:,(default) DBG | {,(default) DBG | },(default) DBG | STDERR:,(default) DBG | {,(default) DBG | },(default) DBG | COMMAND: /usr/local/bin/VBoxManage list hostonlyifs,(default) DBG | STDOUT:,(default) DBG | {,(default) DBG | },(default) DBG | STDERR:,(default) DBG | {,(default) DBG | },(default) DBG | COMMAND: /usr/local/bin/VBoxManage list hostonlyifs,(default) DBG | STDOUT:,(default) DBG | {,(default) DBG | },(default) DBG | STDERR:,(default) DBG | {,(default) DBG | },(default) DBG | COMMAND: /usr/local/bin/VBoxManage list hostonlyifs,(default) DBG | STDOUT:,(default) DBG | {,(default) DBG | },(default) DBG | STDERR:,(default) DBG | {,(default) DBG | },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, |
I installed Docker toolbox. Got
|
@thebiltheory That's great but it says on docker's documentation the
My desktop is 10.13.6 Mac High Sierra, and it shouldn't need the toolbox. Out of curiosity what is your OS version? |
Thank you, @fleveillee, rebooting also works for me. MacOS High Sierra |
Had the issue after upgrading the mac os to
Virtualbox upgrade solved the issue: |
(Solution, MacOS, No reboot required, Reinstall VM required) |
Solution for Windows 7 is to reinstall Virutal Box. Works fine for me. |
Just install latest virtualbox 5.2.0 and it could fix. |
Jesus, easier than I expected... 🤦♂️ Thanks buddy!! |
Restart my machine work for me as well - thanks |
*Restarting my machine worked for me as well - thanks |
This is the solution worked for me. |
Manually installing the latest VirtualBox and reboot helped. |
This one solved the issue for me (Mac OS X, V6.0): |
Uninstalling VirtualBox and reinstalling via |
Starting VM worked for me |
I faced same issue. Got fixed the issue after manually installing the latest VirtualBox. |
For window, i uninstalled the VM Virtual box provided by the toolbox and install latest version 6.1.x manually and did |
Hey guys, i had same problem for the past weeks. I downloaded an older version of Virtualbox and that solved the problem. I was able to get hostonly adaptor. Download Virtualbox 5.2.42. |
Uninstall the Virtualbox that came with docker toolbox...install it separately from the virtual box website, and then rerun the docker quickstart terminal. |
If you have this issue just after a VirtualBox upgrade, make sure to allow updated kernel extension in macOS's security settings. |
I was trying to reinstall Virtualboxwith no luck. I found out that running docker-machine with sudo helped, but I wasn't satisfied with that. |
I've recently run into this problem after having used docker toolbox without a problem for a while.
Started happening after windows update?
Windows 10 Home - 64
Uninstalled and reinstalled Docker toolbox
Uninstalled and reinstalled various versions of VirtualBox
Still get the same error
The text was updated successfully, but these errors were encountered: