【问题标题】:vagrant up failed, /dev/vboxnetctl: no such file or directory in MAC Big sur M1 chipvagrant up 失败,/dev/vboxnetctl:MAC Big sur M1 芯片中没有这样的文件或目录
【发布时间】:2021-06-29 14:55:25
【问题描述】:

在尝试执行 vagrant up 时在终端中出现错误

There was an error while executing `VBoxManage`, a CLI used by Vagrant
for controlling VirtualBox. The command and stderr is shown below.

Command: ["hostonlyif", "create"]

Stderr: 0%...
Progress state: NS_ERROR_FAILURE
VBoxManage: error: Failed to create the host-only adapter
VBoxManage: error: VBoxNetAdpCtl: Error while adding new interface: failed to open /dev/vboxnetctl: No such file or directory
VBoxManage: error: Details: code NS_ERROR_FAILURE (0x80004005), component HostNetworkInterfaceWrap, interface IHostNetworkInterface
VBoxManage: error: Context: "RTEXITCODE handleCreate(HandlerArg *)" at line 95 of file VBoxManageHostonly.cpp

我正在使用 mac BigSur M1 芯片。

我尝试了一些解决方案

  1. 尝试重新安装 virtualbox
  2. vagrant up failed, /dev/vboxnetctl: no such file or directory 但 BigSur 中没有任何授予权限选项。

任何帮助将不胜感激。

【问题讨论】:

    标签: macos vagrant virtualbox macos-big-sur


    【解决方案1】:

    我有同样的问题,VirtualBox 不太可能更新到 ARM,虽然我发现了 JohnRofrano 的 reddit 帖子,他已经弄清楚如何在 Vagrant 中使用 docker,不确定它是否可以帮助你,但在这里发布。 https://www.reddit.com/r/devops/comments/n973sc/developing_on_apple_m1_silicon_with_virtual/

    【讨论】:

      猜你喜欢
      • 2013-08-11
      • 2021-09-07
      • 2018-09-15
      • 2013-01-13
      • 2021-05-13
      • 1970-01-01
      • 2021-03-27
      • 2016-10-07
      • 2021-11-29
      相关资源
      最近更新 更多