- Download and install the latest boot2docker for OS X.
- Open a new Terminal and enter
boot2docker init
- Run
boot2docker start
- You will be given an environment variable to export
export DOCKER_HOST=tcp://192.168.59.103:2375
. Add that to your bash_profile or equivalent. - You have a successful environment when the output of
docker version
is clean (exits 0). The output should look a bit like:
Client version: 1.1.0