Hacker News new | past | comments | ask | show | jobs | submit login

I had to investigate why our docker-ized dev environment was so slow on macOS at my last job and this was the root cause. One project's test suite ran in about 5-10 mins in our linux CI/CD environment, and about 50+ mins in macOS with docker.

There was a very in-depth thread on the docker forums where the devs explained why there was such a huge performance penalty. IIRC it was due to all the extra bookkeeping that had to be done to ensure strong consistency and correct propagation of file system events between the virtualized docker for mac environment and the host file system.

The test suite would run integration tests that performed a lot of npm/yarn operations which meant lots of disk IO.




The reason is that docker on mac runs in a Linux VM and VM mounts are slow.




Guidelines | FAQ | Lists | API | Security | Legal | Apply to YC | Contact

Search: