Apple container
Apple's open-source CLI that runs each Linux container in its own lightweight virtual machine on Apple silicon Macs. The strongest isolation you can get for local containers on a Mac from the OS vendor itself, at the cost of maturity and platform reach.
Overview
Apple's container is an open-source, Swift-written command-line tool for creating and running Linux containers on Apple silicon Macs. Unlike Docker Desktop's single shared Linux VM, each container runs in its own lightweight virtual machine created through Apple's Containerization package on Virtualization.framework: the VM boots an optimised kernel and a minimal root filesystem with a small gRPC-over-vsock init (vminitd), and only the data a container needs is mounted into it, giving, in Apple's words, the isolation properties of a full VM with lower memory use. It consumes and produces standard OCI images, so images built elsewhere run and images built here push to ordinary registries; Rosetta 2 supports linux/amd64 images.
Installation is a signed package from GitHub releases followed by container system start; a launch agent (container-apiserver) and XPC helpers manage images, the vmnet network and one container-runtime-linux process per container. macOS 26 is required for full function (macOS 15 runs with limitations such as no container-to-container networking) and Xcode 26 is needed to build Containerization. The project is under active development with product (not semantic) versions; release 1.7.1 was current at verification. There is no daemon API documented for third-party SDKs and no snapshot or pause feature; the Containerization package also describes a Linux backend on cloud-hypervisor and KVM that shares the same guest contract.
Notable
- Apache-2.0; the
containerrepository has roughly 51k GitHub stars and release 1.7.1 was current at verification; Containerization 0.1.0 is its first release with source-stability guarantees - Requires an Apple silicon Mac and macOS 26 for full support; macOS 15 works with networking limitations
- Containerization README claims sub-second container start times from an optimised kernel and minimal root filesystem
Apple container specifications
| Attribute | Details |
|---|---|
| Isolation | One lightweight Linux VM per container via Apple's Containerization Swift package and Virtualization.framework, with an optimised kernel, minimal root filesystem and a small vminitd init |
| Deployment | Local / OS-level |
| Open source | Yes (Apache-2.0) |
| SDKs and interfaces | CLI |
| Cold start (vendor claim) | Containerization README: sub-second container start times attributed to an optimised kernel configuration and minimal root filesystem; container docs say boot times are comparable to containers in a shared VM, with no figures |
| Max session length | Not documented |
| Persistence | Standard container lifecycle (start, stop, remove) on OCI images; no snapshot or pause feature is documented |
| GPU | Not documented |
| Networking | Containers attach to a vmnet-managed virtual network and receive their own IP addresses (default subnet 192.168.64.1/24 on macOS 15); container-to-container communication and container network commands require macOS 26 |
| Pricing | Free (Apache-2.0); requires an Apple silicon Mac |
| Free tier | Free |
| Compliance | Not documented |
| Regions | Not documented |
Facts from Apple container’s public documentation, verified November 9, 2026. Performance numbers are vendor claims.
Strengths and trade-offs
Strengths
- You want per-container VM isolation on a Mac without running a shared Linux VM
- You need standard OCI images to work unchanged on Apple silicon, including amd64 via Rosetta
- You want each container to have its own IP so services are reachable without port forwarding
- You prefer an OS-vendor tool under Apache-2.0 to a commercial desktop container product
Trade-offs
- Apple silicon and macOS 26 only; Intel Macs, Linux and Windows hosts are not supported
- No snapshots, pause/resume or documented SDK beyond the CLI and an XPC API
- Memory freed inside a container's VM is not returned to macOS (ballooning only partially supported), so long-lived heavy containers may need restarts
- The project notes the initial release lacks many common containerisation features and that breaking changes may occur
Good fit for: Running Linux containers for coding agents on an Apple silicon Mac with VM-grade isolation instead of a shared VM.
Use cases Apple container fits
- Local agents: Apple’s open-source container tool runs each Linux container in its own lightweight VM on Apple silicon.
How Apple container compares
| Sandbox | Isolation | Open source | Self-host / BYOC | Cold start (vendor) | Max session | Snapshots / pause | GPU | SDKs |
|---|---|---|---|---|---|---|---|---|
| Apple container | Lightweight VM per container | Yes | No / No | Sub-second (claimed) | Not documented | No / No | Not documented | CLI |
| Docker Sandboxes | MicroVM | No | Yes / No | Not documented | Until removed (local) | Yes / Yes | Yes | sbx CLI, TypeScript (cloud), REST API (cloud) |
| Windows Sandbox | Hyper-V lightweight VM | No | No / No | A few seconds | Until closed | No / No | Yes | CLI |
| Microsandbox | MicroVM (libkrun) | Yes | Yes / Yes | <100 ms | Not documented | Yes / Not documented | No | TypeScript, Python, Rust, Go, Ruby, CLI, MCP server |
| libkrun | In-process microVM | Yes | Yes / No | Not documented | Not documented | Not documented / Not documented | Yes | Rust, C |
| Anthropic Sandbox Runtime | OS-level (Seatbelt / bubblewrap) | Yes | Yes / Not documented | Process start | Not documented | No / No | Not documented | CLI (srt), TypeScript (npm) |
| BoxLite | microVM + jailer | Yes | Yes / No | ~1 s (claim) | Not documented | Not documented / Not documented | Not documented | Python, JavaScript/TypeScript, Go, Rust, C, CLI, REST API |
Frequently asked questions
What is Apple container?
How does Apple container isolate code?
vminitd init.Is Apple container open source?
How much does Apple container cost?
What are the alternatives to Apple container?
Sources
Cite this page
Agent Sandboxes. (2026). Apple container. agentsandboxes.org. Last reviewed November 9, 2026. https://agentsandboxes.org/sandboxes/apple-container/
Found an error or a missing sandbox? Submit a correction — every entry links to the sources it relies on.