Directory Compare FCRS-1.0 /llms.txt
← Back to Directory

Apple Container

$ container Official Med Risk
Apple · Cloud & Infra · Apache-2.0 · macos

Apple 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.

FCRS-1.0 Score
76 /100
Good
Medium Confidence
Zero-Friction Install
brew install container
CLI vs MCP Decision CLI Only

container interacts directly with Apple's macOS Virtualization.framework and launchd apiserver, making direct host CLI execution the only integration path.

Agent-Readiness Checklist

— JSON Output
— Field Filtering
✓ Non-Interactive
— Dry-Run
— Read-Only Mode
— NO_COLOR Clean
✓ Self-Describing
— Official SKILL.md

Static evaluation (not yet probed on this host). Run npm run data:probe locally to capture live verification.

FCRS-1.0 6-Dimension Breakdown

Agent-Readiness 18 / 25

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 start prompts for kernel install unless pre-installed or --disable-kernel-install is passed
  • Clean subcommand hierarchy (system, run, build, list, inspect)
Trust & Safety 21 / 25

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
Setup & Portability 10 / 15

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+
Utility & Efficiency 11 / 15

Sub-second per-container VM startup and native OCI image building without Docker Desktop overhead.

  • Native Virtualization.framework container runtime and builder
Maintenance & Lineage 9 / 10

Official first-party Apple open-source repository (apple/container) licensed under Apache-2.0.

  • Official apple/container GitHub repository
Docs & Verifiability 7 / 10

Clear README and --help output, though ecosystem docs are still maturing compared to Docker.

  • Documentation in apple/container repository

Security, Auth & Guardrails

Auth Modes
No Auth Config File
Credential Storage

Stores local launchd service state and OCI registry credentials via macOS keychain / container registry login.

Side Effects
Read-Only Local Write Destructive
Cost & Quotas

Free Apache-2.0 open-source software from Apple; requires Apple Silicon macOS hardware.

Copyable Guardrail for CLAUDE.md / AGENTS.md
# 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

Check container system service status
container system status

Reports whether the container background API server and networking services are running.

List all containers
container list --all

Displays running and stopped per-container VMs along with their IDs and IP addresses.

Controlled Writes & Previews

Start the system daemon without interactive kernel prompts
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 native Virtualization.framework speed.
  • + 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 start can trigger an interactive kernel download prompt if unconfigured.

Tested Agent Hosts

Claude Code Codex CLI Gemini CLI