- Download - https://www.vagrantup.com/downloads.html
- Install - https://www.vagrantup.com/docs/installation
-
Clone the Git repository
-
Go to a Vagrantfile folder
cd vagrant/<vagrantfile-folder>
-
Build all virtual machines
vagrant up
-
Build a specific virtual machine
vagrant up <node_name>
-
Check virtual machines status
> vagrant status Current machine states: control running (virtualbox) node1 running (virtualbox) node2 running (virtualbox)
-
Stop virtual machines
> vagrant halt
-
Destroy virtual machines
vagrant destroy
-
Connect to a virtual machine
vagrant ssh <node_name>
-
Update VM image
vagrant box list vagrant box prune vagrant box remove <box>
To find more options use vagrant help
Maintained by Sergey Vergun