Hacker Newsnew | past | comments | ask | show | jobs | submitlogin

What qemu-user makes so special for me is that is can be pre-loaded by the kernel, allowing any foreign arch chroot to directly work, nice for containers¹. I've not read if this here does support it, too.

¹ Once `qemu-user-static` is installed on your system, try `docker run --rm -ti docker.io/arm64v8/alpine` on amd64 or vice versa



That's just a general kernel feature named binfmt_misc [1], just register the interpreter with the O flag. You can write your own binary translator and have the kernel run it for you, too.

[1] https://www.kernel.org/doc/html/latest/admin-guide/binfmt-mi...


This supports it too. See the ExaGear4Docker folder in the install archive.




Guidelines | FAQ | Lists | API | Security | Legal | Apply to YC | Contact

Search: