vagrant
vagrant
TLDR
Create Vagrantfile in current directory with the base Vagrant box
Create Vagrantfile with the Ubuntu 20.04 (Focal Fossa) box from HashiCorp Atlas
Start and provision the vagrant environment
Suspend the machine
Halt the machine
Connect to machine via SSH
Output the SSH configuration file of the running Vagrant machine
List all local boxes
SYNOPSIS
vagrant [-v] [-h] command [<args>]
DESCRIPTION
Vagrant is a tool for building and distributing virtualized development environments.
Vagrant provides the framework and configuration format to create and manage complete portable development environments. These development environments can live on your computer or in the cloud, and are portable between Windows, Mac OS X, and Linux.
OPTIONS
- -v, --version
-
Print the version and exit.
- -h, --help
-
Print this help.
Available subcommands:
- box
-
manages boxes: installation, removal, etc.
- destroy
-
stops and deletes all traces of the vagrant machine
- halt
-
stops the vagrant machine
- help
-
shows the help for a subcommand
- init
-
initializes a new Vagrant environment by creating a Vagrantfile
- package
-
packages a running vagrant environment into a box
- plugin
-
manages plugins: install, uninstall, update, etc.
- provision
-
provisions the vagrant machine
- reload
-
restarts vagrant machine, loads new Vagrantfile configuration
- resume
-
resume a suspended vagrant machine
- ssh
-
connects to machine via SSH
- ssh-config
-
outputs OpenSSH valid configuration to connect to the machine
- status
-
outputs status of the vagrant machine
- suspend
-
suspends the machine
- up
-
starts and provisions the vagrant environment
SEE ALSO
For help on any individual command run vagrant COMMAND -h
AUTHOR
Mitchell Hashimoto <mitchell.hashimoto@gmail.com>