我正在尝试使用 docker 机器启动两个虚拟机:
docker-machine create --driver virtualbox myvm1
docker-machine create --driver virtualbox myvm2
我在输出中看到以下错误:
(myvm2) Progress state: NS_ERROR_FAILURE
(myvm2) VBoxManage: error: Failed to create the host-only adapter
(myvm2) VBoxManage: error: VBoxNetAdpCtl: Error while adding new interface: failed to open /dev/vboxnetctl: No such file or directory
(myvm2) VBoxManage: error: Details: code NS_ERROR_FAILURE (0x80004005), component HostNetworkInterfaceWrap, interface IHostNetworkInterface
(myvm2) VBoxManage: error: Context: "RTEXITCODE handleCreate(HandlerArg *)" at line 94 of file VBoxManageHostonly.cpp
(myvm2)
(myvm2) 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
我安装了最新版本的 VirtualBox (6.0.0) from there .当我打开 VirtualBox 窗口并单击左侧面板中的 VM 时,我收到以下错误弹出窗口:
更新
我尝试重新安装 VirtualBox 6.0.0,在 VirtualBox 安装过程结束时,我看到了以下屏幕:
也许这是上述失败的原因?我的 Mac 在 10.14.1 macOS Mojave 上运行
我该如何修复这些错误?
最佳答案
关于VirtualBox:VERR_VM_DRIVER_NOT_INSTALLED,我们在Stack Overflow上找到一个类似的问题: https://stackoverflow.com/questions/53911534/