Difference between revisions of "Vagrant up"

From wikieduonline
Jump to navigation Jump to search
Tags: Mobile web edit, Mobile edit
 
(14 intermediate revisions by the same user not shown)
Line 1: Line 1:
 +
{{lowercase}}
 +
[[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.
  
  
 +
* <code>[[vagrant up --provider=libvirt]]</code>
  
 +
 +
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...
  
 
<pre>
 
<pre>
 
vagrant up
 
vagrant up
A Vagrant environment or target machine is required to run this
+
Bringing machine 'default' up with 'libvirt' provider...
command. Run `vagrant init` to create a new Vagrant environment. Or,
+
==> default: Box 'bento/ubuntu-20.10' could not be found. Attempting to find and install...
get an ID of a target machine from `vagrant global-status` to run
+
    default: Box Provider: libvirt
this command on. A final option is to change to a directory with a
+
    default: Box Version: >= 0
Vagrantfile and to try again.
+
==> 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]
 
</pre>
 
</pre>
 +
 +
<pre>
 +
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.
  
  
== Related commands ==
+
vagrant up
[[vagrant init]] hashicorp/bionic64
+
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]
 +
</pre>
  
 +
* Solution: <code>sudo apt install [[virtualbox]]-qt</code>
 +
 +
== Related commands ==
 +
*<code> [[vagrant init]] hashicorp/bionic64</code>
 +
*<code> [[vagrant reload]]</code>
  
 
== See also ==
 
== See also ==

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]

Related commands[edit]

See also[edit]

Advertising: