You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Use Rosetta 2 for executing x86_64 processes on Apple silicon.
That said, I haven't tested it and I'm also curious - in my workflow I sometimes need to debug Linux ELF files (i.e. for CTF challenges, for example) and using this to run them (run them in a container, open a debug port & attach a debugger from the macOS host) would be pretty neat.
Yes, we support running x86 containers with Rosetta 2 for emulation.
The containerization bits(vminitd) and kernel are still arm64 binaries but Rosetta 2 is registered via a binfmt handler to support x86 containers as the workload. Add the --arch amd64 flag to pull and run x86 containers.
~> container run alpine:latest uname -a
Linux 2f2f3605-e3e3-4d95-8501-48c867e6a73c 6.12.28 #1 SMP Tue May 20 15:19:05 UTC 2025 aarch64 Linux~> container run --arch amd64 alpine:latest uname -a
Linux 8bb66e54-ba1c-4878-9f38-b5a0771ecf26 6.12.28 #1 SMP Tue May 20 15:19:05 UTC 2025 x86_64 Linux
Reacted by CMD, lin72h, Dennis Keil and Yuyang Wang
@crosbymichael can you offer any insight on what happens to this capability for your guys' containerization when Rosetta is partially sunset in the future? I already am spooked at the possibility of losing Rosetta-powered capabilities with containerization software I personally feel like it would flat out erase a lot of important engineering use cases (and possibly goodwill) that place Apple devices in a very unique position in many sectors/industries. I'd like to think Apple is at least aware that Rosetta has grown into more than just a way to run legacy games/apps, it's practically turned my device into an omega multi-target development environment that feels like there are no tradeoffs. It's incredible, x86_64 isn't going anywhere and Rosetta being leveraged by Docker/Orbstack/etc is certainly what deemed Apple devices viable purchases for my org and team. Now I'm getting sad thinking about being forced back to a thinkpad for work someday.
Activity
iCMDdev commentedon Jun 10, 2025
README says:
That said, I haven't tested it and I'm also curious - in my workflow I sometimes need to debug Linux ELF files (i.e. for CTF challenges, for example) and using this to run them (run them in a container, open a debug port & attach a debugger from the macOS host) would be pretty neat.
crosbymichael commentedon Jun 10, 2025
Yes, we support running x86 containers with Rosetta 2 for emulation.
The containerization bits(vminitd) and kernel are still arm64 binaries but Rosetta 2 is registered via a
binfmthandler to support x86 containers as the workload. Add the--arch amd64flag to pull and run x86 containers.aviramha commentedon Jun 10, 2025
Amazing. I was confused by having only arm64 kernel! :)
clarified linux/amd64 images support (#77)
nihirisuto commentedon Nov 10, 2025
@crosbymichael can you offer any insight on what happens to this capability for your guys' containerization when Rosetta is partially sunset in the future? I already am spooked at the possibility of losing Rosetta-powered capabilities with containerization software I personally feel like it would flat out erase a lot of important engineering use cases (and possibly goodwill) that place Apple devices in a very unique position in many sectors/industries. I'd like to think Apple is at least aware that Rosetta has grown into more than just a way to run legacy games/apps, it's practically turned my device into an omega multi-target development environment that feels like there are no tradeoffs. It's incredible, x86_64 isn't going anywhere and Rosetta being leveraged by Docker/Orbstack/etc is certainly what deemed Apple devices viable purchases for my org and team. Now I'm getting sad thinking about being forced back to a thinkpad for work someday.