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: 3

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

Third-party CLI plugins live in:
    $HOMEBREW_PREFIX/libexec/container-plugins
and persist across upgrades.

GitHub Packages downloads:

Last 30 days50,972
Downloads282,736
Analytics install events (30 days)7,734
Downloads / install events (30 days)6.6×

Source: GitHub Packages, fetched 2026-11-30T00:57:26Z. Analytics dates: 2026-10-31 to 2026-11-30. 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
Installs7,72314,22143,477
Installs (--HEAD)1127135
Installs on Request7,64214,04643,058
Installs on Request (--HEAD)1127135
Build Errors1