3 ms·
Even crazier: you can use binfmt_misc with qemu-user to transparently run Linux executables compiled for other architectures. Debian (and Ubuntu) packages the r
by duskwuff 5y ago
Even crazier: you can use binfmt_misc with qemu-user to transparently run Linux executables compiled for other architectures. Debian (and Ubuntu) packages the required configuration as "qemu-user-binfmt".
- gnufx 5y agoFor what it's worth, qemu-user-static is more general, e.g. for a foreign container image that won't find the shared library. (Wheeled out when it was said people needed to build ppc64le images on x86 boxes and it was impossible, rather than trivial.)
- lloeki 5y agoThat's exactly what Docker does behind the scenes to run foreign arch images, see https://github.com/tonistiigi/binfmt https://github.com/tonistiigi/binfmt