Hacker News new | ask | show | jobs
by magic_hamster 618 days ago
Even if Apple supports x86 emulation, they are doing a subpar job when it comes to actually running things. I got a Mac recently and I was very surprised to see Docker running as an underprivileged second class citizen, literally breaking a lot of flags and features in tools like docker-compose. Come to think of it, it's not even limited to x86 containers (which do run with rosetta) but Docker as a whole.

So far in emulation, trying to emulate a full blown x86 Linux distro was excruciatingly slow for me, not even remotely usable.

I don't know where this incredible x86 emulation people are talking about on Mac is hiding. Maybe it's some legacy apps I never used. Everything I did try so far was simply not good enough.

3 comments

Docker on Mac is running a VM in a hypervisor to run Linux.
> I don't know where this incredible x86 emulation people are talking about on Mac is hiding.

It's in Rosetta, running x86 binaries compiled for older macOS versions.

The state of Docker in macOS has never been good, with Orbdev being the best Docker compatible container engine for desktop Macs.

What flags are you talking about? Everything here runs just fine out of the box. Just slow for x86 images and slow compared to running docker engine or podman on Linux.