Last Updated: March 02, 2016
·
2.046K
· rendhalver

Running a VmWare Fusion docker-machine on OS X

I run VMWare Fusion on my Mac Book so naturally I wanted to run my local docker daemon in it instead of VirtualBox

This is how I do it:

docker-machine create --driver vmwarefusion --vmwarefusion-memory-size 2048 --vmwarefusion-boot2docker-url=https://github.com/boot2docker/boot2docker/releases/download/v1.7.1/boot2docker.iso dev

If you need a specific version replace 1.7.1 with the version you want to run.

After that's done (about a minute or so for me) you can interact with it by setting up you env vars with this command:

eval $(docker-machine env dev)

and then running docker commands as usual.