Using Docker in Mac OSX with VMWare Fusion and docker-machine

‹ How to catch up vmware clock to accurate time after a virtual machine pause/un-pause | Using Amazon Glacier as a cheap backup solution from the command line ›

Although Docker uses Linux kernel features, it is possible to run docker containers in Mac OSX by installing a linux virtual machine and running the docker containers inside the virtual machine.

Create virtual machine called osxdocker:

docker-machine create --driver vmwarefusion osxdocker --vmwarefusion-memory-size=2048

Set environment variables to let the docker command line program connect to boot2docker

eval `docker-machine env osxdocker`

Run docker commands

docker ps

Subscribe to All Posts - Wesley Tanaka