Skip to content

x64 support #70

Closed
Closed

Description

@aviramha

Hey! Exciting release. I couldn't find info if there's planned support for x64 containers?

Activity

  1. iCMDdev commented on Jun 10, 2025

    @iCMDdev

    README says:

    Containerization provides APIs to:

    • ...
    • 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.

  2. crosbymichael commented on Jun 10, 2025

    @crosbymichael
    Contributor

    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
  3. aviramha commented on Jun 10, 2025

    @aviramha
    ContributorAuthor

    Amazing. I was confused by having only arm64 kernel! :)

  4. nihirisuto commented on Nov 10, 2025

    @nihirisuto

    @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.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type

    Projects

    No projects

      Milestone

      No milestone

      Relationships

      None yet

      Development

      No branches or pull requests

      Issue actions