Last active
November 18, 2019 18:00
Star
You must be signed in to star a gist
Vagrant Commands
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
Settings contained in VagrantFile | |
vagrant up | |
- Pull dependencies and start VM (run from project root) | |
vagrant destroy -f | |
- Force destroy VMs | |
vagrant ssh <box> | |
- SSH onto a running VM | |
vagrant box list | |
- List all current known boxes | |
vagrant box remove <box> | |
- Remove box | |
vagrant plugin install vagrant-scp | |
- Install plugin for scp | |
vagrant scp <file> <vmName>:<location> | |
- SCP to VM | |
vagrant global-status | |
- Get full current VM details | |
vagrant halt | |
- Shutdown all VMs |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment