container

Install command:
brew install container

Create and run Linux containers using lightweight virtual machines

https://apple.github.io/container/documentation/

License: Apache-2.0

Development: Pull requests

Formula JSON API: /api/formula/container.json

Formula code: container.rb on GitHub

Bottle (binary package) installation support provided for:

macOS on
Apple Silicon
golden gate ✅
tahoe ✅

Current versions:

stable ✅ 1.7.1
head ⚡️ HEAD

Revision: 1

Requires: Xcode >= 26.0 (build), arm64 architecture, macOS >= 26

Binaries: container, container-apiserver

Service:

Start now and at login: brew services start container
Run directly: $HOMEBREW_PREFIX/opt/container/bin/container system start --disable-kernel-install
When starting container with `brew services`, no kernel is installed
automatically. Install the recommended kernel before running containers:
    container system kernel set --recommended

GitHub Packages downloads:

Last 30 days41,489
Downloads247,469
Analytics install events (30 days)5,821
Downloads / install events (30 days)7.1×

Source: GitHub Packages, fetched 2026-11-10T00:49:42Z. Analytics dates: 2026-10-11 to 2026-11-10. Totals exclude downloads from Bintray before the migration to GitHub Packages. Downloads and install attempts measure different things; the difference does not count analytics opt-outs. Definitions and limitations.

Analytics:

30 days90 days365 days
Installs5,81114,48939,013
Installs (--HEAD)1033131
Installs on Request5,75414,31338,658
Installs on Request (--HEAD)1033131
Build Errors0