# Installer container avec Homebrew, MacPorts, Nix

Consultez les chemins d'installation, exécutables, métadonnées et notes de sécurité de container pour les workflows d'agents IA.

## installation

```sh
sudo av install brew:container
```

Commandes d'installation supplémentaires:

### macOS

- Homebrew (100%):

```sh
brew install container
```

  Preuve: local Homebrew formula metadata

- MacPorts (94%):

```sh
sudo port install container
```

  Preuve: MacPorts ports tree: devel/container/Portfile from https://api.github.com/repos/macports/macports-ports/git/trees/master?recursive=1

### Linux

- Nix (92%):

```sh
nix profile install nixpkgs#container
```

  Preuve: nixpkgs package indexes: pkgs/by-name/co/container/package.nix from https://api.github.com/repos/NixOS/nixpkgs/git/trees/master?recursive=1

## Faits du paquet

- **Clé du paquet:** brew:container
- **Gestionnaire de paquets:** Homebrew
- **Page du gestionnaire de paquets:** <https://formulae.brew.sh/formula/container>
- **Version:** 1.2.0
- **Résumé source:** Create and run Linux containers using lightweight virtual machines
- **Page d'accueil:** <https://apple.github.io/container/documentation/>
- **Dépôt:** <https://github.com/apple/container>
- **Docs amont:** <https://apple.github.io/container/documentation/>
- **Licence:** Apache-2.0
- **Archive source:** <https://github.com/apple/container/archive/refs/tags/1.2.0.tar.gz>
- **Dernière mise à jour:** 2026-07-29T17:23:24+01:00
- **Généré:** 2026-08-04T22:13:35+00:00

## exécutables

- container (cli)
- container-apiserver (cli)
- container (alias)
- container-apiserver (alias)

## Comportement d'installation

- hook post-installation: non défini
- Service: declared
- Bouteille: disponible sur arm64_tahoe

## Version et fraîcheur

- page générée: 2026-08-04
- version du gestionnaire: 1.2.0
- gestionnaire mis à jour: 2026-07-29
- données locales: OK
- dépôt amont: https://github.com/apple/container
- dernière version détectée: 1.2.0 (à jour)
## Historique du projet et usages

Apple's `container` is a macOS-focused CLI for creating and running Linux containers as lightweight virtual machines. It is written in Swift, optimized for Apple silicon, and designed around OCI-compatible images and registries.

### Historique du projet

Apple published the initial 0.1.0 release in June 2025 and reached 1.0.0 in June 2026. The README describes the project as active development, with stability guarantees limited to patch versions until the 1.0.0 milestone.

### Historique d'adoption

Official documentation frames the tool around macOS developers who need Linux containers without a shared Linux VM. The project also became package-manager-relevant quickly because Homebrew, MacPorts, and Nix package records appeared around a first-party Apple runtime rather than a Docker Desktop replacement package.

### Modes d'utilisation

The CLI can start the system service, pull and run OCI images, build images from Dockerfiles, push images to registries, and manage containers, images, registries, builders, and system components. Its technical overview explains that each container runs in its own lightweight VM through Apple's Containerization package and macOS frameworks such as Virtualization, vmnet, XPC, launchd, Keychain services, and unified logging.

### Pourquoi les passionnés de paquets s'y intéressent

For package nerds, `container` is significant because it makes Apple's native container stack installable and scriptable as a CLI. Its use of OCI images preserves interoperability with existing registries, while its macOS-only virtualization model creates a distinct packaging target from Linux containerd/runc stacks and Docker Desktop-style bundles.

### Chronologie

- 2025: 0.1.0 release published.
- 2026: 1.0.0 release published.
- 2026: Documentation states support targets macOS 26 and Apple silicon.

### Related projects

- `container` uses Apple's Containerization Swift package for low-level container, image, and process management. Its technical overview also connects it to OCI image standards and macOS platform frameworks.

### Sources

- <https://github.com/apple/container#readme>
- <https://github.com/apple/container/blob/main/docs/technical-overview.md>
- <https://github.com/apple/container/blob/main/docs/tutorials/start-here.md>
- <https://github.com/apple/container/releases/tag/0.1.0>
- <https://github.com/apple/container/releases/tag/1.0.0>
- <https://apple.github.io/container/documentation>


## Notes de sécurité

broad file, network, media, or database tool signal. formula declares a Homebrew service.

- **Risque Geiger:** orange / moyen
- broad file, network, media, or database tool signal
- formula declares a Homebrew service
- infrastructure mutation or orchestration signal

## Détails de la base source

- **Source Database:** Homebrew formula API
- **Tap:** homebrew/core
- **Full Name:** container
- **Version Scheme:** 0
- **Revision:** 0
- **Head Version:** HEAD
- **Requirements:** arch, macos, xcode
- **Bottle Stable Root URL:** <https://ghcr.io/v2/homebrew/core>
- **Deprecated:** no
- **Disabled:** no
- **Keg Only:** no
- **URL Keys:** head, stable

## Autres enregistrements de gestionnaires de paquets

- Nix - container: normalized package name match | nixpkgs package indexes: pkgs/by-name/co/container/package.nix from https://api.github.com/repos/NixOS/nixpkgs/git/trees/master?recursive=1
- MacPorts - container: normalized package name match | MacPorts ports tree: devel/container/Portfile from https://api.github.com/repos/macports/macports-ports/git/trees/master?recursive=1


## Liens liés

- [Cloud CLI packages](https://pkg.so/fr/cloud-clis/) - Belongs to a cloud or infrastructure command family.
- [Source-control packages](https://pkg.so/fr/source-control-tools/) - Belongs to a source-control command family.
- [Secret-risk packages](https://pkg.so/fr/secret-risk-packages/) - Has protected-tool coverage, approval-gate, or non-low Geiger security signals.
- [Terminal utility packages](https://pkg.so/fr/terminal-utilities/) - Matched terminal and command-line workflow metadata.
- [socktainer](https://pkg.so/fr/brew/socktainer/) - Popular package that depends on this formula.
- [colima](https://pkg.so/fr/brew/colima/) - Shares pkgdb curated category or tags: cli, cloud-infrastructure, containers, macos, runtime.
- [containerd](https://pkg.so/fr/brew/containerd/) - Shares pkgdb curated category or tags: cli, cloud-infrastructure, containers, oci, runtime.
- [oras](https://pkg.so/fr/brew/oras/) - Shares pkgdb curated category or tags: cli, cloud-infrastructure, containers, oci.
- [skopeo](https://pkg.so/fr/brew/skopeo/) - Shares pkgdb curated category or tags: cli, cloud-infrastructure, containers, oci.
- [rockcraft](https://pkg.so/fr/brew/rockcraft/) - Shares pkgdb curated category or tags: cli, cloud-infrastructure, containers, oci.
- [dcp](https://pkg.so/fr/brew/dcp/) - Shares pkgdb curated category or tags: cli, cloud-infrastructure, containers, oci.
- [crane](https://pkg.so/fr/brew/crane/) - Shares pkgdb curated category or tags: cli, cloud-infrastructure, containers.
- [apko](https://pkg.so/fr/brew/apko/) - Shares pkgdb curated category or tags: cli, cloud-infrastructure, containers, oci.
- [container-canary](https://pkg.so/fr/brew/container-canary/) - Package names and metadata indicate a similar tool family. Shared terms: cli, cloud, cloud-infrastructure, container, containers.

## Combined YAML source

View the package source record on GitHub. [combined/container.yml](https://github.com/mxcl/pkgdb/blob/main/combined/container.yml)


## Sources

- pkg.so package database
- Geiger risk classifier
- package-page enrichment
- curated package history
- package version freshness
- pkgdb category and tag curation
- package relationship graph
- external package-manager database matches
- cross-ecosystem install command graph
