
In the example above, the username is "ubuntu", and the box is "trusty64". Boxes are broken down into two parts - the username and the box name - separated by a slash. HashiCorp's Atlas box catalog, a place where we can find Note that we downloaded the box named 'ubuntu/trusty64' from It just downloads the image but not install anything on our system.

=> box: Successfully added box 'ubuntu/trusty64' (v20170202.0.0) for 'virtualbox'! => box: Adding box 'ubuntu/trusty64' (v20170202.0.0) for provider: virtualbox => box: Loading metadata for box 'ubuntu/trusty64' We're going to pick some boxes that we want to install.

This stores the box under a specific name so that multiple Vagrant environments can re-use it.

These base images are known as boxes in Vagrant, and specifying the box to use for our Vagrant environment is always the first step after creating a new Vagrantfile.īoxes are added to Vagrant with vagrant box add. Instead of building a virtual machine from scratch, Vagrant uses a base image to quickly clone a virtual machine.
