To be able to use Docker on Mac OS X, we have to run the Docker service inside a virtual machine (VM) since Docker uses Linux-specific features to run. We don't have to get frightened by this since the installation process is very short and straightforward.
There is an OS X installer that installs everything we need, that is, VirtualBox, boot2docker, and Docker.
VirtualBox is a virtualizer in which we can run the lightweight Linux distribution, and boot2docker is a virtual machine that runs completely in the RAM and occupies just about 27 MB of space.
The latest released version of the OS X installer can be found at https://github.com/boot2docker/osx-installer/releases/latest.
Now, let's take a look at how the installation ...