2 ms·
really good question... is a x86 container already bootstrapping or can we put it through Rosetta (instead through QEMU) to get it run?
by therealmarv 4y ago
really good question... is a x86 container already bootstrapping or can we put it through Rosetta (instead through QEMU) to get it run?
- olliej 4y agoThe container’s kernel has to run on hardware (that’s what kernels do). If you have an x86 container that means an x86 kernel. Rosetta only runs user mode processes (and presumably in this environment knows how to translate linux system calls?). If you /have/ to run an x86 kernel (I’m not sure what the reason would be?) you’re stuck with full system emulation a la qemu. In reality what you probably have is a few x86 binaries that you need, and it sounds like this will let docker, VMware, qemu, whatever, leverage Rosetta w/o having to implement it themselves. Now, if you’re running something that does codegen at runtime, then Rosetta is pretty much just as screwed as any other tech you might want to use.