Difference between revisions of "Vagrant up"
Jump to navigation
Jump to search
(2 intermediate revisions by the same user not shown) | |||
Line 12: | Line 12: | ||
Vagrant relies on interactions with 3rd party systems, known as | Vagrant relies on interactions with 3rd party systems, known as | ||
"providers", to provide Vagrant with resources to run development | "providers", to provide Vagrant with resources to run development | ||
− | environments. Examples are VirtualBox, VMware, Hyper-V. | + | environments. Examples are [[VirtualBox]], [[VMware]], [[Hyper-V]]. |
The easiest solution to this message is to install VirtualBox, which | The easiest solution to this message is to install VirtualBox, which | ||
is available for free on all major platforms. | is available for free on all major platforms. | ||
− | + | ||
If you believe you already have a provider available, make sure it | If you believe you already have a provider available, make sure it | ||
is properly installed and configured. You can see more details about | is properly installed and configured. You can see more details about | ||
why a particular provider isn't working by forcing usage with | why a particular provider isn't working by forcing usage with | ||
− | `vagrant up --provider=PROVIDER`, which should give you a more specific | + | `vagrant up [[--provider]]=PROVIDER`, which should give you a more specific |
error message for that particular provider. | error message for that particular provider. | ||
Latest revision as of 09:50, 5 February 2024
vagrant up A Vagrant environment or target machine is required to run this command. Run `vagrant init` to create a new Vagrant environment. Or, get an ID of a target machine from `vagrant global-status` to run this command on. A final option is to change to a directory with a Vagrantfile and to try again.
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.
vagrant up Bringing machine 'default' up with 'libvirt' provider... ==> default: Checking if box 'fedora/32-cloud-base' version '32.20200422.0' is up to date... ==> default: Resuming domain...
vagrant up Bringing machine 'default' up with 'libvirt' provider... ==> default: Box 'bento/ubuntu-20.10' could not be found. Attempting to find and install... default: Box Provider: libvirt default: Box Version: >= 0 ==> default: Loading metadata for box 'bento/ubuntu-20.10' default: URL: https://vagrantcloud.com/bento/ubuntu-20.10 The box you're attempting to add doesn't support the provider you requested. Please find an alternate box or use an alternate provider. Double-check your requested provider to verify you didn't simply misspell it. If you're adding a box from HashiCorp's Vagrant Cloud, make sure the box is released. Name: bento/ubuntu-20.10 Address: https://vagrantcloud.com/bento/ubuntu-20.10 Requested provider: [:libvirt]
vagrant init bento/fedora-32 A `Vagrantfile` has been placed in this directory. You are now ready to `vagrant up` your first virtual environment! Please read the comments in the Vagrantfile as well as documentation on `vagrantup.com` for more information on using Vagrant. vagrant up Bringing machine 'default' up with 'libvirt' provider... ==> default: Box 'bento/fedora-32' could not be found. Attempting to find and install... default: Box Provider: libvirt default: Box Version: >= 0 ==> default: Loading metadata for box 'bento/fedora-32' default: URL: https://vagrantcloud.com/bento/fedora-32 The box you're attempting to add doesn't support the provider you requested. Please find an alternate box or use an alternate provider. Double-check your requested provider to verify you didn't simply misspell it. If you're adding a box from HashiCorp's Vagrant Cloud, make sure the box is released. Name: bento/fedora-32 Address: https://vagrantcloud.com/bento/fedora-32 Requested provider: [:libvirt]
- Solution:
sudo apt install virtualbox-qt
Related commands[edit]
vagrant init hashicorp/bionic64
vagrant reload
See also[edit]
Advertising: