Created
April 23, 2017 16:31
-
-
Save rgodishela/a05945e171aba9d53b74ee8cf328d7ad to your computer and use it in GitHub Desktop.
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Vagrant Cheatsheet | |
box = manages boxes: installation, removal, etc. | |
connect = connect to a remotely shared Vagrant environment | |
destroy = stops and deletes all traces of the vagrant machine | |
docker-logs = outputs the logs from the Docker container | |
docker-run = run a one-off command in the context of a container | |
global-status = outputs status Vagrant environments for this user | |
halt = stops the vagrant machine | |
help= shows the help for a subcommand | |
init = initializes a new Vagrant environment by creating a Vagrantfile | |
list-commands = outputs all available Vagrant subcommands, even non-primary ones | |
login = log in to Vagrant Cloud | |
package = packages a running vagrant environment into a box | |
plugin = manages plugins: install, uninstall, update, etc. | |
provision = provisions the vagrant machine | |
rdp = connects to machine via RDP | |
reload =restarts vagrant machine, loads new Vagrantfile configuration | |
resume =resume a suspended vagrant machine | |
rsync =syncs rsync synced folders to remote machine | |
rsync-auto =syncs rsync synced folders automatically when files change | |
share =share your Vagrant environment with anyone in the world | |
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 | |
version =prints current and latest Vagrant version | |
sudo date -s "$(wget -qSO- --max-redirect=0 google.com 2>&1 | grep Date: | cut -d' ' -f5-8)Z" |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment