title | category | layout | intro |
---|---|---|---|
Vagrant |
Devops |
2017/sheet |
[Vagrant](http://vagrantup.com) lets you build isolated virtual environments for your apps.
|
Add some base boxes: {: .-setup}
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 # !!
- Vagrant website (vagrantup.com)
- Vagrantfile cheatsheet