Get Docker running under OSX.
Understanding the tools
- Vagrant is a tool to provision VMs.
- Virtualbox is VM software.
- CoreOS is an operating system based on linux that’s all about running docker.
Install VirtualBox + Vagrant
Install VirtualBox via VirtualBox OSX installer
Install Vagrant via Vagrant OSX installer (I used version 1.6.2)
Vagrant Smoke Test: run Ubuntu Precise
To make sure Vagrant is installed correctly, run the following commands to see if Ubuntu Precise comes up and you are able to ssh into it.
1 2 3
If that doesn’t work, you should probably fix it before moving on. Otherwise, keep reading.
1 2 3
SSH into CoreOS
Run stock ubuntu docker image
After running this, you should be ssh’d inside of an Ubuntu shell, running under docker (running inside of VirtualBox .. etc, all the way up the onion)