You won't have to worry about the details though, as they package it as part of the Docker for Mac Edge build. At the very least, the jet plane taking off might only happen every once in a while versus all the time.Īs of this date, Docker has a blessed approach for minimizing resource consumption on disk changes using something under the hood called Mutagen. The options below will get you closer to parity with the experience on Linux. While it is true that Docker on Linux is the architecture as intended (and therefore is the best experience), simply switching is not tenable for most folks. This is the part where many would tell you to "just develop on Linux". All that synchronizing work between these layers is not trivial! This is also why you see the Hyperkit process usually consuming much of your CPU even at idle. The jet plane taking off when you do a docker-compose up on macOS? It's your Host OS' resources hard at work to synchronize low-level I/O (specifically disk and network) between the Host OS and Containers this is on top of having to run the Containers themselves.
VM's run an additional operating system on top of your Host Operating System, as well as an additional abstraction layer (called the Hypervisor) for the "Guest OS" to talk to the Host OS.