Install Dokku using Vagrant
- Download and install VirtualBox
- Download and install Vagrant
- 
Clone Dokku 
- 
Setup SSH hosts in your /etc/hosts
- 
Create VM 
- 
Setup SSH Config in ~/.ssh/config. The port listed here is usually correct, though you may want to verify that it is the same as the one listed in the output ofvagrant ssh-config dokku
- 
Copy your SSH key via cat ~/.ssh/id_rsa.pub | pbcopyand paste it into the dokku-installer at http://dokku.me . Change theHostnamefield on the Dokku Setup screen to your domain and then check the box that saysUse virtualhost naming. Then click Finish Setup to install your key. You'll be directed to application deployment instructions from here.
You are now ready to deploy an app or install plugins.
For a different, complete, example see https://github.com/RyanBalfanz/dokku-vagrant-example.