macOS
brew install containerlocal Homebrew formula metadata
sudo port install containerMacPorts ports tree · devel/container/Portfile · 来源: api.github.com
安装
brew install containerlocal Homebrew formula metadata
sudo port install containerMacPorts ports tree · devel/container/Portfile · 来源: api.github.com
nix profile install nixpkgs#containernixpkgs package indexes · pkgs/by-name/co/container/package.nix · 来源: api.github.com
概览
Create and run Linux containers using lightweight virtual machines
历史
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.
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.
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.
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.
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.
安全态势
broad file, network, media, or database tool signal. formula declares a Homebrew service.
orange 风险 · 中 置信度 · infrastructure
在无人值守的代理使用前,请检查该工具是否读取明文凭据、写入远程状态、发布制品或调用插件。
可执行文件
| 命令 | 类型 | 暴露范围 | 备注 |
|---|---|---|---|
container | cli | 全局可执行文件 | |
container-apiserver | cli | 全局可执行文件 |
新鲜度
这些信号区分页生成时间、软件包管理器活动和上游发布比较。只有存在证据 URL 和可比较版本时,才会提示版本落后。
https://github.com/apple/container
安装元数据
| 软件包键 | brew:container |
|---|---|
| 版本 | 1.1.0 |
| 软件包管理器 | Homebrew |
| 软件包管理器页面 | https://formulae.brew.sh/formula/container |
| 主页 | https://apple.github.io/container/documentation/ |
| 仓库 | https://github.com/apple/container |
| 上游文档 | https://apple.github.io/container/documentation |
| 许可证 | Apache-2.0 |
| 源码归档 | https://github.com/apple/container/archive/refs/tags/1.1.0.tar.gz |
| 最后更新 | 2026-07-06T21:40:21Z |
| Pulse | updated |
| Bottle | 可用 (于 arm64_tahoe) |
| Homebrew post-install | 已定义 |
| 服务 | declared |
注册表事实
| Source Database | Homebrew formula API |
|---|---|
| Tap | homebrew/core |
| Full Name | container |
| Version Scheme | 0 |
| Revision | 0 |
| Head Version | HEAD |
| Requirements |
|
| Bottle Stable Root URL | https://ghcr.io/v2/homebrew/core |
| Deprecated | no |
| Disabled | no |
| Keg Only | no |
| URL Keys |
|
源数据库匹配
匹配项来自外部软件包管理器索引,并与本地 Automic Vault 软件包链接分开显示。
container
nix profile install nixpkgs#containercontainer
sudo port install container来源线索
此页面由 av-web 从 scripts/generate-pkg-sqlite.py 生成的私有软件包 SQLite 工件提供。
View the package source record on GitHub.