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.
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 Apple Container Implements Read‑Only Root Filesystems and tmpfs MountsDiscover 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.
How to Use `container system df` for Disk Usage Analysis in Apple's Container RuntimeAnalyze 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 apple/container Handles Port Publishing and Socket ForwardingLearn 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 Use Linux Capabilities (`--cap-add` / `--cap-drop`) for Enhanced Container SecurityEnhance container security by mastering Linux capabilities with --cap-add and --cap-drop. Run containers with minimal privileges, avoiding full root access.
How Resource Limits (CPU, Memory, and Ulimits) Are Implemented in Apple ContainerDiscover how Apple Container implements CPU, memory, and ulimits resource limits using a three layer architecture with cgroups and setrlimit system calls. Learn more now.
How to Utilize Anonymous Volumes and Manage Their Lifecycle in apple/containerLearn how to use anonymous volumes in apple/container for automatic persistent storage. Discover how to manage their lifecycle and delete them efficiently.
How Apple Container Manages Container-to-Container Networking: A Deep Dive into the vmnet ArchitectureDiscover how Apple Container manages container networking using the vmnet architecture and container-network-vmnet plugin for isolated virtual networks and IP communication.
How to Configure Kernel Settings and Custom Kernels for ContainersEasily configure kernel settings and custom kernels for containers on Apple Container. Modify config.toml, use CLI flags, or download archives system-wide.
How to Use the Plugin System for Network and Runtime Extensions in apple/containerLearn 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 apple/container Manages XPC Services for Interprocess Communication: A Deep Dive into ContainerXPCDiscover how apple/container uses ContainerXPC to manage XPC services for robust inter-process communication between VM-backed runtimes and clients.
How to Use Init Images to Customize Container Boot Behavior in apple/containerCustomize apple/container boot behavior using init images. Learn to replace default VM init filesystems with custom images for arbitrary code execution before vminitd.
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:
curl -s "https://instagit.com/install.md" Maintain an open-source project? Get it listed too →