Apple Container
$ container Official Med RiskApple Container (container) is Apple's official Swift CLI for building and running Linux OCI containers on Apple Silicon Macs using Virtualization.framework. Each container runs in its own isolated micro-VM, managed via container system start, container run, container build, and container list.
brew install container container interacts directly with Apple's macOS Virtualization.framework and launchd apiserver, making direct host CLI execution the only integration path.
Agent-Readiness Checklist
Static evaluation (not yet probed on this host). Run npm run data:probe locally to capture live verification.
FCRS-1.0 6-Dimension Breakdown
Clean Swift CLI with --debug and --disable-kernel-install for headless start, though newer command surfaces focus on text output and lack rich --jq or --dry-run flags.
container system startprompts for kernel install unless pre-installed or--disable-kernel-installis passed- Clean subcommand hierarchy (
system,run,build,list,inspect)
Per-container micro-VM isolation via Virtualization.framework gives stronger kernel isolation than shared-VM Docker setups.
- Each container executes inside a dedicated lightweight VM
Easy brew install container on modern Apple Silicon Macs, but strictly macOS arm64-only (no Intel Mac, Linux, or Windows CLI support).
- Requires Apple Silicon (
arm64) and macOS 15/26+
Sub-second per-container VM startup and native OCI image building without Docker Desktop overhead.
- Native Virtualization.framework container runtime and builder
Official first-party Apple open-source repository (apple/container) licensed under Apache-2.0.
- Official
apple/containerGitHub repository
Clear README and --help output, though ecosystem docs are still maturing compared to Docker.
- Documentation in
apple/containerrepository
Security, Auth & Guardrails
Stores local launchd service state and OCI registry credentials via macOS keychain / container registry login.
Free Apache-2.0 open-source software from Apple; requires Apple Silicon macOS hardware.
# Apple Container Agent Rules - Verify `container system status` before invoking `container run` or `container build`. - Pass `--disable-kernel-install` if automating `container system start` when a kernel is already provisioned, to avoid interactive download prompts. - Never run `container delete` / `rm` on unknown container IDs without confirmation.
Agent-Ready Command Recipes
Safe Read-Only Queries
container system status
Reports whether the container background API server and networking services are running.
container list --all
Displays running and stopped per-container VMs along with their IDs and IP addresses.
Controlled Writes & Previews
container system start --disable-kernel-install
Launches the background service without blocking on an interactive default kernel download prompt.
Strengths for Agents
- + First-party Apple Silicon container runtime with hardware VM isolation per container.
- + Simple Homebrew install (
brew install container) and nativeVirtualization.frameworkspeed. - + Familiar OCI lifecycle verbs (
run,build,list,inspect,logs).
Caveats & Pitfalls
- ! Strictly limited to Apple Silicon Macs (
arm64); unavailable on Linux, Windows, or Intel Macs. - ! First-run
container system startcan trigger an interactive kernel download prompt if unconfigured.