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.

513 articles 31.9k View on GitHub ↗
513 articles
Limitations of Memory Ballooning in Container VMs: Why macOS VMs Can't Shrink Memory

Discover why macOS VMs in apple/container can only grow memory, not shrink it. Learn about memory ballooning limitations and how to reclaim memory without full restarts.

deep-dive
Jul 12, 2026
How to Implement Custom Init Images for Advanced Container Startup Logic in Apple Container

Implement custom init images for advanced container startup logic in Apple Container VMs. Use the --init-image flag to run custom code before the init process begins.

how-to-guide
Jul 12, 2026
How to Enable Rosetta Support in Apple Container for Running x86 Binaries

Easily run x86 binaries on Apple Silicon Macs within containers. Learn how to enable Rosetta support using simple flags or configuration settings for seamless execution.

how-to-guide
Jul 12, 2026
How to Configure DNS Resolution for Containers: Per-Container and System-Level Guide

Master DNS resolution for containers. Learn to configure per-container settings or host-side domains for seamless cross-resolution between macOS and your containers.

how-to-guide
Jul 12, 2026
How to View Disk Usage for Containers and Volumes with `container system df`

Learn to view disk usage for containers and volumes using container system df. Inspect consumption with human-readable or machine-parsable output. Get started now.

how-to-guide
Jul 12, 2026
How to Retrieve Logs from a Running Container or System Process: Three Methods Explained

Learn three methods to retrieve logs from running containers or system processes using the container CLI. Access stdout/stderr streams efficiently.

how-to-guide
Jul 12, 2026
How to Manage Container Machines for Persistent Development Environments

Learn to manage container machines for persistent development environments. Apple Container provides bootable Linux VMs that save state automatically and mount your macOS home directory.

how-to-guide
Jul 12, 2026
How to Log In and Out of OCI Registries Using Container Registry Commands

Log in and out of OCI registries with container registry commands. Securely store credentials in your macOS keychain for easy access.

how-to-guide
Jul 12, 2026
How to Configure Container Networking with Custom CIDR Blocks in Apple's Container Runtime

Learn to configure container networking with custom CIDR blocks in Apple's Container Runtime using CLI flags or config.toml for flexible network management. Optimize your container setup now.

how-to-guide
Jul 12, 2026
How to Create and Manage Persistent Storage Volumes for Containers in Apple Container

Learn to create and manage persistent storage volumes for containers with Apple Container's volume subsystem. Ensure data survives restarts and shares across containers.

how-to-guide
Jul 12, 2026
How to Manage Container Builder Instances Using Start, Status, and Stop Commands

Master container builder instances with start status and stop commands. Effortlessly manage your BuildKit builder lifecycle and handle resource constraints automatically.

command-reference
Jul 12, 2026
How to Inspect Container and Image Details Using the container inspect Command

Learn how to inspect container and image details with the container inspect command. Access low-level JSON data for your containers and images efficiently.

how-to-guide
Jul 12, 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 →