Revisiting Docker for Mac's performance with NFS volumes
tl;dr: Docker's default bind mount performance for projects requiring lots of I/O on macOS is abysmal. It's acceptable (but still very slow) if you use the
cached
ordelegated
option. But it's actually fairly performant using the barely-documented NFS option!July 2020 Update: Docker for Mac may soon offer built-in Mutagen sync via the
:delegated
sync option, and I did some benchmarking here. Hopefully that feature makes it to the standard Docker for Mac version soon.September 2020 Update: Alas, Docker for Mac will not be getting built-in Mutagen support at this time. So, read on.