Apple container: lightweight Linux VMs on Apple silicon
1 min read
Originally from github.com
View source
My notes
Summary
Apple’s container is an open source Swift tool that runs Linux containers as lightweight VMs directly on Apple silicon Macs, consuming and producing standard OCI images so it interoperates with any normal container registry. It’s built on Apple’s own Containerization Swift package and only supports macOS 26+, positioning it as a native, Docker Desktop-style alternative that leans on new virtualization and networking features in that OS release.
Key Insight
- Each container runs as its own lightweight VM rather than sharing a kernel the way traditional Docker containers do on Linux, closer to Firecracker/microVM isolation than classic containerization.
- Full OCI compatibility means existing Docker Hub or private registry images pull and run unmodified, and anything built with
containerpushes back out to standard registries, no lock-in to a proprietary image format. - Hard platform requirement: Apple silicon only, macOS 26 only. The maintainers explicitly won’t troubleshoot issues that can’t be reproduced on macOS 26, so this is not yet a drop-in for older machines or Intel Macs.
- Ships as a signed installer package (not a Homebrew formula in this excerpt) with a dedicated system service (
container system start/stop) and a bundledupdate-container.sh/uninstall-container.shpair, upgrade/downgrade is a manual script run, not silent auto-update. - Uninstall has a data-preservation flag (
-kkeeps user data,-dwipes it), useful if testing a downgrade or reinstall without losing pulled images/volumes. - Project is explicitly pre-1.0: API/CLI stability is only guaranteed within a patch version (e.g. 0.1.1 to 0.1.2), minor version bumps can break things until 1.0.0 ships.