Skip to content

Guides

Why QEMU arm64 builds are so slow

Adding linux/arm64 to a Docker build makes it twenty times slower.

4 min read

Adding linux/arm64 to a Docker build makes it twenty times slower.

Why it happens

QEMU interprets every arm64 instruction on x64 hardware. Running a compiler under that is catastrophic.

How to fix it

  1. Build arm64 on native arm64 hardware and merge manifests
  2. Keep QEMU only for images that copy files and do not compile
  3. Measure both — the difference is usually larger than people expect

Your next build could be twice as fast, at half the price

Start free. Migrating away is the same one line, and we publish that diff too.