Docker for Mac performance continues to be horrible on the M1. Does anyone know if Docker plan to improve this situation? Are they already using the Apple Hypervisor framework (I'm guessing not).
As an example, I have a simple JAMstack (Jekyll) build, which takes approximately 70 seconds to complete on my My Dell XPS 17 (Intel Core i9-11900H) using an x86 image. This is the case running Windows 11 (WSL2) or Linux (Pop!_OS).
The same build (with an ARM64 image) takes 460 seconds on the M1 Max, with Docker assigned 8 Cores and 8GB.
However, if I launch Linux (Ubuntu Server ARM64) via UTM, I can execute the exact same build in just 9 seconds!!!
9 seconds is an incredible result, but it is painful that I have to run a local Ubuntu image to achieve that performance.
Any thoughts? Any way to optimise the performance of Docker on macOS?
As an example, I have a simple JAMstack (Jekyll) build, which takes approximately 70 seconds to complete on my My Dell XPS 17 (Intel Core i9-11900H) using an x86 image. This is the case running Windows 11 (WSL2) or Linux (Pop!_OS).
The same build (with an ARM64 image) takes 460 seconds on the M1 Max, with Docker assigned 8 Cores and 8GB.
However, if I launch Linux (Ubuntu Server ARM64) via UTM, I can execute the exact same build in just 9 seconds!!!
9 seconds is an incredible result, but it is painful that I have to run a local Ubuntu image to achieve that performance.
Any thoughts? Any way to optimise the performance of Docker on macOS?