2 ms·
It does help, docker's buildkit backend (enabled when you use the buildx command instead of build) supports building for other architectures automatically. You
by qbasic_forever 4y ago
It does help, docker's buildkit backend (enabled when you use the buildx command instead of build) supports building for other architectures automatically. You can for example on an ARM device build a perfectly fine x86 or x64 image and push it to a registry, or vice-versa. It works by behind the scenes using QEMU to emulate the other architecture and binfmt_misc to run its executables. This all happens transparently and wraps up what used to be a bit of manual work and tweaking.
It also supports running other architecture images using the same QEMU magic. It's really quite polished and works well.