Vagrant

Vagrant lets you build isolated virtual environments for your apps.

A cheatsheet by @rstacruz|Refreshed 7 months ago.Refresh|View source on Github

Get started

Get started

Add some base boxes:

vagrant box add precise64 http://files.vagrantup.com/precise64.box

Work it:

mkdir test_box
cd test_box
vagrant init precise64

Run it:

vagrant up
vagrant ssh

To stop, use one of the following:

vagrant ssh        # then: sudo shutdown -h now
vagrant suspend
vagrant destroy    # !!