vagrant upでエラー(Mac環境)

久しぶりに VisualBox + Vagrant でPHPの開発環境作成しようとしたらvagrant up でこけたので、メモ。

現象

最新のVisualBox + VagrantをMac環境にインストール。バージンはそれぞれ 6.1.0 と 2.2.6。
エラーは以下の通り。

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.

原因、対応

Vagrantが最新のVisualBoxに対応していない。
VisualBoxをダウングレード 5.2.34 にする。

VisualBox 5.2.34, Vagrant 2.2.6 にしたらうまく動作しました。

コメントを残す

メールアドレスが公開されることはありません。 が付いている欄は必須項目です

CAPTCHA