container

A tool for creating and running Linux containers using lightweight virtual machines on a Mac. It is written in Swift, and optimized for Apple silicon.

345 articles 31.9k View on GitHub ↗
345 articles
How to Use Rosetta for x86_64 Binary Translation in Apple Container

Learn to use Rosetta for x86_64 binary translation in Apple containers. Run and build amd64 Linux containers natively on Apple silicon with the container CLI.

how-to-guide
Jul 2, 2026
How Apple Container Implements Read‑Only Root Filesystems and tmpfs Mounts

Discover how Apple Container implements read-only root filesystems and tmpfs mounts by translating CLI flags to OCI specs and using the Linux kernel via runc-compatible runtimes.

internals
Jul 2, 2026
How to Use `container system df` for Disk Usage Analysis in Apple's Container Runtime

Analyze disk usage in Apple's container runtime with the `container system df` command. Get human-readable or machine-readable stats for images, containers, and volumes.

how-to-guide
Jul 2, 2026
How apple/container Handles Port Publishing and Socket Forwarding

Learn how apple/container handles port publishing and socket forwarding. Discover the two-phase process: CLI parsing and runtime service materialization for active TCP/UDP forwarders and Unix sockets.

how-to-guide
Jul 2, 2026
How to Use Linux Capabilities (`--cap-add` / `--cap-drop`) for Enhanced Container Security

Enhance container security by mastering Linux capabilities with --cap-add and --cap-drop. Run containers with minimal privileges, avoiding full root access.

how-to-guide
Jul 2, 2026
How Resource Limits (CPU, Memory, and Ulimits) Are Implemented in Apple Container

Discover how Apple Container implements CPU, memory, and ulimits resource limits using a three layer architecture with cgroups and setrlimit system calls. Learn more now.

internals
Jul 2, 2026
How to Utilize Anonymous Volumes and Manage Their Lifecycle in apple/container

Learn how to use anonymous volumes in apple/container for automatic persistent storage. Discover how to manage their lifecycle and delete them efficiently.

how-to-guide
Jul 2, 2026
How Apple Container Manages Container-to-Container Networking: A Deep Dive into the vmnet Architecture

Discover how Apple Container manages container networking using the vmnet architecture and container-network-vmnet plugin for isolated virtual networks and IP communication.

deep-dive
Jul 2, 2026
How to Configure Kernel Settings and Custom Kernels for Containers

Easily configure kernel settings and custom kernels for containers on Apple Container. Modify config.toml, use CLI flags, or download archives system-wide.

how-to-guide
Jul 2, 2026
How to Use the Plugin System for Network and Runtime Extensions in apple/container

Learn to use the apple/container plugin system to add network and runtime extensions. Discover how to register custom binaries with launchd for on-demand services without altering core code.

how-to-guide
Jul 2, 2026
How apple/container Manages XPC Services for Interprocess Communication: A Deep Dive into ContainerXPC

Discover how apple/container uses ContainerXPC to manage XPC services for robust inter-process communication between VM-backed runtimes and clients.

deep-dive
Jul 2, 2026
How to Use Init Images to Customize Container Boot Behavior in apple/container

Customize apple/container boot behavior using init images. Learn to replace default VM init filesystems with custom images for arbitrary code execution before vminitd.

how-to-guide
Jul 2, 2026

Have a question about this repo?

These articles cover the highlights, but your codebase questions are specific. Give your agent direct access to the source. Share this with your agent to get started:

Share the following with your agent to get started:
curl -s "https://instagit.com/install.md"

Works with
Claude Codex Cursor VS Code OpenClaw Any MCP Client

Maintain an open-source project? Get it listed too →