Vagrant: No usable default provider could be found for your system

I tried to run Vagrant this morning and was greeted by the following error:

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.

I knew that I had Virtualbox installed as I could check the installed version with VBoxManage

$ /usr/bin/VBoxManage --version

After a bit of searching, I found this issue which explains that Vagrant does not currently support VirtualBox 5.1 (and won’t until the 1st September release).

The solution is to either build Vagrant from source or downgrade VirtualBox to 5.0.x. I opted to use a more recent Vagrant build and everything seems to be working perfectly again>

Michael is a polyglot software engineer, committed to reducing complexity in systems and making them more predictable. Working with a variety of languages and tools, he shares his technical expertise to audiences all around the world at user groups and conferences. You can follow @mheap on Twitter

Thoughts on this post

Leave a comment?

Leave a Reply