4 ms·
Does docker support true x86_64 emulation on arm64 hosts?
by antihero 4y ago
Does docker support true x86_64 emulation on arm64 hosts?
- idontwantthis 4y agoNo, and that’s a pretty good reason to not use it if you really need that. What can you use to do that?
- happymellon 4y agoI thought that was a limitation that Apple put in place. You can either run an alternative architecture or an alternative OS. Running MacOS software for x86 is running through an interpreter. If you want to run x86 Linux software, then MacOS on Arm is just one too many steps away.
- antihero 4y agoCurrently using straight up lima and software emulation. It’s slow but it just about works. I think there’s stuff that uses it under the hood like colima and rancher. Basically the issue is that quite a lot of software is amd64 only and they haven’t cross complied binary layers for arm64. So for local development you have to emulate. It’s a shame there’s not a way to leverage rosetta2 really.
- ta988 4y agoThere is, it works wonderfully well but you have to do a lot of things manually for now.