# Clone git repository
git clone --recursive --config core.autocrlf=false https://github.com/mblaschke/vagrant-development.git devvm
cd devvm
# Customize the vm.yml with your favorite editor
vim vm.yml
# Setup Docker environment (only linux and mac, only once)
source provision/docker-init.sh
# Start vm
vagrant up
# Enter VM
vagrant sshPut this snipped in your .ssh/config:
Host vm vagrant 192.168.56.2
Hostname 192.168.56.2
User vagrant
ForwardAgent yes
Compression no
StrictHostKeyChecking no
UserKnownHostsFile=/dev/null
Now you can (if ssh key is loaded, otherwise use password 'vagrant' and ssh-copy-id)
ssh vm
Under Linux and MacOS you will be asked for root rights (sudo). If you don't want to enter your password every time take a look at the vagrant manual for NFS usage
# Start VM
vagrant up
# Suspend VM
vagrant suspend
# Resume VM
vagrant resume
# Stop VM
vagrant halt
# Restart VM
vagrant restart
# Reload Vagrantfile changes (and restart VM)
vagrant reload
# Destroy the VM (and all data!)
vagrant destroyIf you want a GUI tool for managing Vagrant VMs you can use Vagrant Manager. With it you can controll your VMs from a system tray icon.