I want to start a virtual machine with VirtualBox and vagrant

Asked 2 years ago, Updated 2 years ago, 157 views

Building a Local Development Environment [macOS Edition] - Dot Install for Programming

I went to #06 Start a virtual machine by referring to the above page, but I got the following error:How can I resolve the error?

running environment:
Virtualbox 6.0.6
vagrant 2.2.4

error messages:

~/MyVagrant/MyCentOS$vagrantup
No usable default provider could be found for your system.

Vagrant releases 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 easy 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 partial provider isn't working by forcing usage with
`vagrant up--provider=PROVIDER`, which should give you a more specific
error message for that partial provider.

vagrant virtualbox

2022-09-30 21:39

2 Answers

A slightly older (July 2016) Qiita article is similar to the symptoms described in [Mac]vagrantup error.
Perhaps the corrective action mentioned in the article will solve the problem.


2022-09-30 21:40

There was no problem with the compatibility between VirtualBox and vagrant.
After editing the Vagrantfile, the error disappeared.
I have uploaded the reference article on Qiita, so please check it out.
https://qiita.com/miraidenshi/items/e2a2b3195a6c8e4bd5a7


2022-09-30 21:40

If you have any answers or tips


© 2024 OneMinuteCode. All rights reserved.