When using an image from the Hashicorp box index, it provides the following instructions to use an image:
$ vagrant up ubuntu/trusty64 --provider virtualbox
However, that gave me the following error:
The machine with the name 'ubuntu/trusty64' was not found configured for this Vagrant environment.
Instead, I used the following commands:
# Import the box locally $ vagrant box add ubuntu/trusty64 # Remove old Vagrant file if there is one $ rm Vagrantfile # Create a new one with the image we need $ vagrant init ubuntu/trusty64 # Boot the box $ vagrant up
The box imported and spun up fine
Michael is a polyglot software engineer, committed to reducing complexity in systems and making them more predictable. Working with a variety of languages and tools, he shares his technical expertise to audiences all around the world at user groups and conferences. You can follow @mheap on Twitter