Re:Podman Desktop v1.5 with Compose onboarding and enhanced ...
by thfuran on Saturday November 04, 2023 @05:21AM
(#38139351)
Docker on Mac runs a Linux VM to put containers in. Rosetta doesn't get around that.
[ Parent
| on HN ]
Re:Podman Desktop v1.5 with Compose onboarding and enhanced ...
by kwkelly on Saturday November 04, 2023 @06:11AM
(#38139599)
Notable too that the VM it runs on Mac comes with qemu user mode emulation and uses binfmt_misc to run binaries for different architectures so obviates the need for Rosetta.
Edit: to try this out compile a “hello world” binary to say arm64 and riscv64 and amd64 and run it all in the same container (be sure to statically link)
Re:Podman Desktop v1.5 with Compose onboarding and enhanced ...
by drzaiusx11 on Saturday November 04, 2023 @08:17PM
(#38146639)
Knew it used qemu but didn't know about binfmt_misc. Very cool. I guess that explains why my coworkers with m1 laptops can run our amd64 containers just fine without changes.
Re:Podman Desktop v1.5 with Compose onboarding and enhanced ...
by drzaiusx11 on Sunday November 05, 2023 @09:11AM
(#38151255)
Iirc Docker Desktop uses a proprietary VM now, Colima and Podman Desktop use qemu, and I'm not sure about Orbstack (which has come up several times as a lighter weight alternative within this thread.)