Hi, I am a new learner of Docker and when I studied the tutorial: Deploy to Swarm | Docker Docs
I encountered some issue when installing the latest version of VirtualBox. When I finished installation, the dialogue showed that the installation failed:
however, there’s a VirtualBox icon on my application and I can still open it, so I suppose it is installed.
Then I type in the command in the tutorial:
docker-machine create --driver virtualbox myvm1
but I got error messages as follows:
(myvm1) Creating a new host-only adapter produced an error: /usr/local/bin/VBoxManage hostonlyif create failed:
(myvm1) 0%…
(myvm1) Progress state: NS_ERROR_FAILURE
(myvm1) VBoxManage: error: Failed to create the host-only adapter
(myvm1) VBoxManage: error: VBoxNetAdpCtl: Error while adding new interface: failed to open /dev/vboxnetctl: No such file or directory
(myvm1) VBoxManage: error: Details: code NS_ERROR_FAILURE (0x80004005), component HostNetworkInterfaceWrap, interface IHostNetworkInterface
(myvm1) VBoxManage: error: Context: “RTEXITCODE handleCreate(HandlerArg *)” at line 94 of file VBoxManageHostonly.cpp
(myvm1)
(myvm1) 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
However, I used the latest VirtualBox so I am sure it should not be the version issue.
I am not sure what is wrong so I post this and trying to get your help. Thanks/