The functional innards of Docker for Mac and Windows

The functional innards of Docker for Mac and Windows

Most developers use a Mac or Windows host to develop Docker Linux containers. This normally requires the installation of a Linux virtual machine as well as a complicated setup that includes a local networked filesystem for sharing data between the host and the Linux container, including UID mapping and case sensitivity, with inotify often being unreliable into the container; replicating Linux networking configuration locally to reflect the structure of the deployed microservices on the local laptop; and maintaining a separate Linux virtual machine and hypervisor such as VirtualBox, leading to heavyweight resource usage on a developer laptop.

I describe the architecture of Docker for Mac and Windows, which ships a lightweight hypervisor and user-level networking and filesystem functionality to greatly improve the developer experience with Docker on popular platforms.


Anil Madhavapeddy

June 16, 2016