无法流浪-如何设置&Quot;提供者&Quot; [英] Unable to vagrant up - how to set "providers"

查看:32
本文介绍了无法流浪-如何设置&Quot;提供者&Quot;的处理方法,对大家解决问题具有一定的参考价值,需要的朋友们下面随着小编来一起学习吧!

问题描述

我正在尝试运行流浪汉,但在vagrant up之后出现错误:

No usable default provider could be found for your system.

Vagrant relies on interactions with 3rd party systems, known as
"providers", to provide Vagrant with resources to run development
environments. Examples are VirtualBox, VMware, Hyper-V.

The easiest solution to this message is to install VirtualBox, which
is available for free on all major platforms.

If you believe you already have a provider available, make sure it
is properly installed and configured. You can see more details about
why a particular provider isn't working by forcing usage with
`vagrant up --provider=PROVIDER`, which should give you a more specific
error message for that particular provider.

我安装的是VirtualBox 4.3.26 r989888版和Linux Ubuntu(64位)之前的版本

之后: vagrant box add precise32 http://files.vagrantup.com/precise32.box

==> box: Adding box 'precise32' (v0) for provider: box: Downloading: http://files.vagrantup.com/precise32.box box: Progress: 100% (Rate: 1425k/s, Estimated time remaining: --:--:--) ==> box: Successfully added box 'precise32' (v0) for 'virtualbox'!

当我列出时 vagrant box list

lucid32   (virtualbox, 0)
precise32 (virtualbox, 0)

"Provider"有什么问题

vagrant package --base vagrant-ubuntu64

Vagrant could not detect VirtualBox! Make sure VirtualBox is properly installed.

Vagrant uses the `VBoxManage` binary that ships with VirtualBox, and requires
this to be available on the PATH. If VirtualBox is installed, please find the
`VBoxManage` binary and add it to the PATH environmental variable.

如何帮助他检测VirtualBox?

推荐答案

快速说明-Vagant 1.8.4和VirtualBox 5.1.X在MacOS10.11上不兼容(无法设置提供程序)。

VirtualBox 5.0.10工作正常。

这篇关于无法流浪-如何设置&Quot;提供者&Quot;的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持IT屋!

查看全文
登录 关闭
扫码关注1秒登录
发送“验证码”获取 | 15天全站免登陆