1
0
Fork 0
mirror of https://github.com/tldr-pages/tldr.git synced 2024-10-30 22:17:57 +01:00
tldr/pages/common/vagrant.md
2019-04-30 08:52:55 +01:00

476 B

vagrant

Manage lightweight, reproducible, and portable development environments.

  • Create Vagrantfile in current directory with the base Vagrant box:

vagrant init

  • Create Vagrantfile with the Ubuntu 14.04 (Trusty Tahr) box from HashiCorp Atlas:

vagrant init ubuntu/trusty32

  • Start and provision the vagrant environment:

vagrant up

  • Suspend the machine:

vagrant suspend

  • Halt the machine:

vagrant halt

  • Connect to machine via SSH:

vagrant ssh