Vagrant provides easy to configure, reproducible, and portable work environments. Its main objective is to make the “works on my machine” excuse a relic of the past ;-)
Then verify your installation:
$ vagrant -v
Up and Running
$ vagrant init hashicorp/precise64 $ vagrant up
After running the above two commands, you will have a fully running virtual machine in VirtualBox running Ubuntu 12.04 LTS 64-bit. You can SSH into this machine with
vagrant ssh, and when you are done playing around, you can terminate the virtual machine with
List downloaded boxes.
$ vagrant box list
Control virtual machine state
$ vagrant status
$ vagrant up
$ vagrant halt
$ vagrant reload
With Vagrant, you suspend, halt, or destroy the guest machine. Each of these options have pros and cons. Choose the method that works best for you.
For more details see on official doc Getting started / teardown