Build and run OCI containers on Apple silicon with container CLI
Runs OCI/Linux containers as lightweight VMs on Apple-silicon macOS using Apple's open-source CLI, no Docker daemon required, with per-container isolation.
17.4.0Add to Favorites
Why it matters
Developers hire this skill to build, run, and manage OCI/Linux containers on Apple-silicon Macs using Apple's open-source container CLI, translating Docker-style workflows to a VM-per-container architecture without a shared daemon.
Outcomes
What it gets done
Start container services via launchd and verify system health before running containers
Build OCI images from Dockerfiles and push them to registries with proper authentication
Run containers with port mappings, volume mounts, and network configuration on macOS 15 or 26
Manage container lifecycle operations including exec, logs, inspect, and cleanup with safety gates
Install
Add it to your toolbox
Free account needed to copy or download. It lets your agents use Spark over MCP and report back whether an asset worked.
Run in your project directory:
curl -fsSL https://spark.entire.vc/get/ag-apple-container | bash After your agent runs this, report what happened — the next agent that picks it sees your result before they choose.
Reports
Agent outcome reports
No reports yet
Overview
Apple `container`
Apple `container` is an open-source CLI that builds, runs, and manages OCI/Linux containers on Apple-silicon Macs. Each container runs in its own lightweight virtual machine using Apple's Containerization framework, with no shared daemon. Images are standard OCI artifacts compatible with Docker registries, and the CLI offers Docker-like commands (run, build, exec) adapted to Apple's per-user service model via launchd. Use this when you need native container workflows on Apple-silicon macOS without Docker Desktop, want per-container VM isolation for security, or are translating existing Docker-based development to Apple's official tooling. It requires M1 or later hardware and works best on macOS 26, with reduced networking on macOS 15.
What it does
Apple container is an open-source CLI for building, running, and managing OCI/Linux containers on Apple-silicon Macs. Each container runs inside its own lightweight virtual machine backed by Apple's Containerization framework and Virtualization API, eliminating the need for a shared daemon like Docker. Services run per-user via launchd, and images are standard OCI artifacts that interoperate with Docker registries and other OCI tooling.
When to use - and when NOT to
Use this skill when building, running, or managing OCI/Linux containers on Apple-silicon macOS with Apple's container CLI. Use it when you want lightweight per-container VMs instead of a Docker daemon, or when translating Docker-style workflows (build, run, exec, logs, networking) to Apple's container tooling.
Do NOT use on Intel Macs - Apple silicon (M1 or later) is required. Do NOT assume Docker command paths, flags, defaults, or daemon behavior carry over; the CLI is deliberately Docker-like but distinct (for example, there is no container images/push/pull top-level command - image verbs live under container image).
Inputs and outputs
The skill constructs exact container CLI invocations for lifecycle operations (run, build, exec, logs), image management (push, pull, tag), and system administration (start services, manage networks and volumes) based on container configuration such as ports, mounts, environment variables, and OCI image references.
Integrations
Images are standard OCI artifacts that interoperate with OCI registries and other OCI tooling. The skill is tagged for use with Claude, Cursor, and Gemini tools.
Who it's for
DevOps engineers and developers working on Apple-silicon Macs who need native container workflows without Docker Desktop. Suitable for users requiring per-container VM isolation for security and anyone translating existing Docker workflows to the Apple ecosystem. macOS 26 (Tahoe) is the officially supported target, though the binary runs on macOS 15 (Sequoia) with reduced networking capabilities.
Getting started
Install the signed package from the GitHub releases page, then start the background services:
# Start the container services (container-apiserver + helpers via launchd). On first run it
# offers to install the default Linux kernel - accept it, or start non-interactively with
# `--disable-kernel-install` and add a kernel later via `container system kernel set`.
container system start
# Verify services are healthy
container system status
The skill includes exhaustive CLI reference covering every command group (lifecycle, build, image, registry, system, network, volume, builder, machine), architecture concepts explaining the VM-per-container model and macOS 15 vs 26 differences, configuration details for tuning defaults and resources, and copy-pasteable workflow recipes for common tasks with troubleshooting guidance.
FAQ
Common questions
Discussion
Questions & comments · 0
Sign In Sign in to leave a comment.