$ vagrant up
This command creates and configures guest machines according to your Vagrantfile.Start virtual machine.
$ vagrant ssh
This will SSH into a running Vagrant machine and give you access to a shell.$ vagrant halt
This command shuts down the running machine Vagrant is managing.$ vagrant destroy
This command stops the running machine Vagrant is managing and destroys all resources that were created during the machine creation process.After running this command, your computer should be left at a clean state, as if you never created the guest machine in the first place.
No comments:
Post a Comment