Hacker News new | ask | show | jobs
by yjftsjthsd-h 2040 days ago
> If there was sufficient demand there's nothing stopping someone from making a MacOS compatible release

That assumes that it's something that can reasonably be ported. Granted, that does cover most software, but there are exceptions that for whatever reason are difficult to port. Docker is the poster child for this since it uses Linux kernel primitives; the way it runs "on" Darwin is to run Linux in a VM.

1 comments

Docker's never been quite as portable as imagined because of this. I wonder if this will make people rethink it as a model for containerization.

Interestingly, FreeBSD has native Docker support because it has a Linux compatibility layer that adds/maps/implements(?) Linux system calls so it FreeBSD can run Linux binaries. Looks like FreeBSD Docker support is also broken right now.

The annoying thing is that it should be that portable - docker is modular enough that you should be able to replace containerd/runc with a jail-based version and everything just works, and the OCI image format outright talks about features to make the system OS-agnostic. It's just that nobody's bothered to actually implement it:(