【问题标题】:Vagrant, VirtualBox built-in or no?Vagrant,VirtualBox 是否内置?
【发布时间】:2013-04-12 16:54:17
【问题描述】:

尝试设置 Vagrant 但收到错误:

The "VBoxManage" command or one of its dependencies could not be found. 
Please verify VirtualBox is properly installed. You can verify everything 
is okay by running "VBoxManage --version" and verifying that the VirtualBox 
version is outputted.

只是因为 Vagrant 文档状态而感到困惑:

“入门指南将使用 Vagrant 和 VirtualBox,因为它是免费的,可在每个主要平台上使用,并且内置于 Vagrant。

如果我安装 Vagrant 时应该包含 VirtualBox,不想单独安装它。如果相关,运行 OSX 10.8,猜我只需要安装 VirtualBox?如果是这样,当他们说它是“内置”时,他们在文档中是什么意思?

【问题讨论】:

    标签: virtualbox vagrant


    【解决方案1】:

    如果您打算将 VirtualBox 与 Vagrant 一起使用,则需要安装 VirtualBox。我猜他们的意思是 VirtualBox 集成是内置的?

    最近,他们已经抽象出 VirtualBox 特定的代码,并正在努力允许多个提供程序。我相信 VMWare 现在是 supported 除了 VirtualBox。

    【讨论】:

      【解决方案2】:

      我收到了这条消息,但我的问题有所不同。我使用 Vmware_fusion 作为提供者。 Vagrant 无法检测到我正在使用的提供程序。它假定我正在使用 VirtualBox。通过调用 vagrant up provider 标志解决了这个问题。这是完整的命令

         vagrant up --provider vmware_fusion
      

      【讨论】:

        猜你喜欢
        • 1970-01-01
        • 1970-01-01
        • 2016-03-30
        • 1970-01-01
        • 1970-01-01
        • 2016-10-16
        • 1970-01-01
        • 1970-01-01
        • 1970-01-01
        相关资源
        最近更新 更多