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 20.04 (Focal Fossa) box from HashiCorp Atlas:
vagrant init ubuntu/focal64
- Start and provision the vagrant environment:
vagrant up
vagrant suspend
vagrant halt
- Connect to machine via SSH:
vagrant ssh
- Output the SSH configuration file of the running Vagrant machine:
vagrant ssh-config
vagrant box list
Copyright © 2014—present the tldr-pages team and contributors.
This work is licensed under the Creative Commons Attribution 4.0 International License (CC-BY).