3 ms·
Docker has QEMU built in. You can run ARM docker images on x86, and I believe you can run x86 docker images on ARM. This is not very widely talked about, I stu
by ant6n 6y ago
Docker has QEMU built in. You can run ARM docker images on x86, and I believe you can run x86 docker images on ARM.
This is not very widely talked about, I stumbled across it by accident: I was working on an x86 emulator on my Chromebook, and was going back and forth between the ARM Chromebook and an x86 laptop. I was working within docker on both machines. At some point I was running a test binary saying "this is an ARM-binary" and forgot to run it using the emulator - but it still executed directly on the x86 machine. It was very confusing and took me a while to figure why my x86 cpu was executing this little static ARM binary just fine - QEMU inside Docker.