macOS Container Machines(github.com)
1247 points by timsneath 2 days ago | 428 comments
tl;dr: macOS Container Machines run full Linux environments (with init/systemd) from standard OCI images, automatically mapping your macOS username and home directory into the VM so repos and dotfiles are shared between host and guest. You can edit on macOS while building/running inside Linux, spin up multiple machines for different distros (Alpine, Ubuntu, Debian), and run real system services like Postgres via systemctl. Custom images work as long as they include /sbin/init, with a `container machine` CLI (aliased `m`) for create/run/stop/inspect operations.
HN Discussion:
  • Clarifies and expands on the feature's capabilities beyond basic OCI containers
  • Questions how this differs from existing tools like Colima, OrbStack, or Docker Desktop
  • Criticizes Apple for not providing native Darwin containers/jails instead of Linux VMs
  • Questions the design choice of mounting $HOME instead of full isolation
  • ~Sees this as confirmation that macOS/Windows can't compete with Linux for development