I'm using a Mac Mini to build Docker images, but it's pretty slow, especially for big Rust projects I'm working on. I'm considering upgrading to a Mac Studio M3 with 98GB of RAM and the standard CPU setup. Is there a better or cheaper option available that offers similar performance and maintains the same compact design?
3 Answers
Make sure to think about the architecture too! The M-series Macs use ARM architecture for their images, which might not match what your applications are expecting. Docker can virtualize for amd64 as well, but that adds another layer of virtualization, which could slow things down even more.
What exactly are your release goals? Knowing your project's timeline could help in deciding on the right hardware. If you're looking to go big, investing in the Mac Studio might be worth it in the long run.
You might want to consider using a native Linux host instead of continuing with Docker on macOS since Docker runs in a virtualized environment there. It could speed up your image builds significantly. Especially for Rust projects, a Linux setup would be more efficient since it leverages native performance without the overhead of macOS virtualization.

Related Questions
Lenovo Thinkpad Stuck In Update Loop Install FilterDriverU2_Reload