git clone https://github.com/goody80/vagrant_docker_cluster.git
cd vagrant_docker_cluster
$ ./ctl.sh
===========================================================
What do you want ?
===========================================================
[0] Install the Virtualbox & Vagrant <--- HERE!
[1] Start VM & login
[2] Login to VM
[3] Stop VM
[4] Reload VM
[5] Reboot VM
[RM] Remove VM
===========================================================
Please insert a key as you need
===========================================================
vagrant up docker01.dev
or
vagrant up docker0{1..9}.dev
ssh-keygen
Generating public/private rsa key pair.
Enter file in which to save the key (/Users/ralfyang/.ssh/id_rsa):
Created directory '/Users/ralfyang/.ssh'.
Enter passphrase (empty for no passphrase):
Enter same passphrase again:
Your identification has been saved in /Users/ralfyang/.ssh/id_rsa.
Your public key has been saved in /Users/ralfyang/.ssh/id_rsa.pub.
The key fingerprint is:
vagrant ssh docker01.dev