Docker with VMWare

Boot2docker was deprecated in favour of Docker Toolbox, where the latter is much more convenient to kickstart on a vanilla machine. However, it’s a pity that the bundle comes with VirtualBox by default, and I’m using VMWare Fusion for better performance on my dev box.

According to Java Bain, a docker machine (using a Mac box) could be easily deployed on VMWare Fusion via:

# removes VM created by default
docker-machine rm default
# creates machine powered by vmware fusion
docker-machine create --driver=vmwarefusion default

A even detailed configuration could be found here

docker-machine create --driver vmwarefusion --vmwarefusion-cpu-count 2 --vmwarefusion-disk-size 80000 --vmwarefusion-memory-size 4096 default