Reno, NV    +1 (800)0 621-0871

Go back


A Guide to Getting Started with Docker on OS X

  |  May 21, 2014

In this blog post, I am assuming that you have OS X Mavericks (10.9.2) and would like try out Docker.

Install VirtualBox (4.3.12).

Install and setup boot2docker:

$ brew update
$ brew install boot2docker
$ boot2docker init
$ boot2docker up
$ export DOCKER_HOST=tcp://localhost:4243
Note: You can add this environment variable in ~/.bashrc or ~/.zshenv.

Test drive:

$ docker version

and you should see

Client version: 0.11.1
Client API version: 1.11
Go version (client): go1.2.1
Git commit (client): fb99f99
Server version: 0.11.1
Server API version: 1.11
Git commit (server): fb99f99
Go version (server): go1.2.1
Last stable version: 0.11.1