The best way to install Docker.io on Mac OS X is by using Homebrew. At least at the time of writing this.
Before you start make sure you got a decent internet connection. There is going to be a lot of downloading. (Believe it or not but it beats maven).
A Mac isn't linux it doesn't have the option of runing LXC (linux containers). The easiest way around that is using boot2docker. It can be installed with brew.
brew install boot2docker
Then initialise and start docker:
This will have some output.
The important part is:
Where XXXX is a port.
In order to install docker run.
brew install docker
To test the docker installation:
docker run base /bin/echo 'Hello World'
It should output "Hello World".comments powered by Disqus