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

This article was published 4 years ago. Due to the rapidly evolving world of technology, some concepts may no longer be applicable.

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>

Thoughts on this post

Leave a comment?