VirtualBox:VERR_VM_DRIVER_NOT_INSTALLED

标签 virtualbox docker-machine macos-mojave

我正在尝试使用 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 时,我收到以下错误弹出窗口:

enter image description here

更新

我尝试重新安装 VirtualBox 6.0.0,在 VirtualBox 安装过程结束时,我看到了以下屏幕:

enter image description here

也许这是上述失败的原因?我的 Mac 在 10.14.1 macOS Mojave 上运行

我该如何修复这些错误?

最佳答案

您可能需要在“安全和隐私”下的“系统偏好设置”中批准 VirtualBox 内核扩展:

enter image description here

允许内核扩展后,安装程序应该能够成功运行。

关于VirtualBox:VERR_VM_DRIVER_NOT_INSTALLED,我们在Stack Overflow上找到一个类似的问题: https://stackoverflow.com/questions/53911534/

相关文章:

xcode - 什么会导致彩色 mac 应用程序图标显示为灰度?

macos - 当我在终端中调用它时,Emacs 错误 "Failed to initialize color list unarchiver"

hadoop - 无法将虚拟盒中的HDP 2.6沙盒与桥接网络连接

linux - 在 VirtualBox 上连接 WinSCP 和 Ubuntu

android - 在 Genymotion Android 中连接到 VPN

ubuntu - 通过docker容器显示一个窗口

git - “ssh: Could not resolve hostname github.com: Try again”-内部Docker容器

virtual-machine - Virtualbox 未在 CentOS 7 上运行

docker - 如何使用 docker-machine 和 VirtualBox 创建具有特定 URL 的 docker 机器?

macos - 2019 年 macOS 上的 SASL 状况如何?