I’ve now worked at two organizations with large Rails codebases (~100 controllers) and there have been major performance issues affecting developer productivity when running in Docker compared to natively.
This seems to be a theme that I’ve seen across other large Rails apps.
Docker on Mac is a world of pain when it comes to developing Rails Why is Rails boot so slow on macOS?
The preferred way to use GitLab Development Kit is to install Ruby and its dependencies on your ‘native’ OS. We strongly recommend the native install, since it is much faster than a virtualized one. Due to heavy IO operations a virtualized installation will be much slower running the app and the tests. README.md · master · GitLab.org / GitLab Development Kit · GitLab
Is anyone having success developing large Rails applications in Docker on OS X (or Windows)? If so, can you share some of your settings and configuration?
If you have not had success with Docker, can you also share that?
I’m hoping to find out if this is even worth the investment.