mirror of
https://github.com/tldr-pages/tldr.git
synced 2024-11-02 11:17:59 +01:00
24 lines
430 B
Markdown
24 lines
430 B
Markdown
|
# vagrant
|
||
|
|
||
|
> Manage lightweight, reproducible, and portable development environments
|
||
|
|
||
|
- Create Vagrantfile in current folder 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`
|
||
|
|
||
|
- Connect to machine via SSH
|
||
|
|
||
|
`vagrant ssh`
|