# 使用 Homebrew, apk, apt, dnf, Nix, pacman, zypper, scoop 安装 containerd

查看 containerd 的安装路径、可执行文件、元数据以及面向 AI 代理工作流的安全说明。

## 安装

```sh
sudo av install brew:containerd
```

其他安装命令:

### macOS

- Homebrew (100%):

```sh
brew install containerd
```

  证据: local Homebrew formula metadata

### Linux

- apk (92%):

```sh
sudo apk add containerd
```

  证据: Alpine Linux edge package indexes: containerd from https://dl-cdn.alpinelinux.org/alpine/edge/community/x86_64/APKINDEX.tar.gz

- Debian apt (92%):

```sh
sudo apt install containerd
```

  证据: Debian stable package indexes: containerd from https://deb.debian.org/debian/dists/stable/main/binary-amd64/Packages.xz

- dnf (92%):

```sh
sudo dnf install containerd
```

  证据: Fedora Rawhide package metadata: containerd from https://dl.fedoraproject.org/pub/fedora/linux/development/rawhide/Everything/x86_64/os/repodata/07190dc5ae9f35ae73866675fed6d95fe6e8d9fe22c9d7cdf85862cb2ed24a4c-primary.xml.zst

- Nix (92%):

```sh
nix profile install nixpkgs#containerd
```

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

- pacman (92%):

```sh
sudo pacman -S containerd
```

  证据: Arch Linux sync databases: containerd from https://geo.mirror.pkgbuild.com/extra/os/x86_64/extra.db.tar.gz

- zypper (92%):

```sh
sudo zypper install containerd
```

  证据: openSUSE Tumbleweed package metadata: containerd from https://download.opensuse.org/tumbleweed/repo/oss/repodata/50b07339cb64c8ed4091bdbabddadc1ff5737b090e478818a195b40d8a3292861a879139b4a3987c31109699fde9fbf4a716367ddf4eef77da75f96e3193d6ed-primary.xml.zst

### Windows

- Scoop (92%):

```sh
scoop install main/containerd
```

  证据: Scoop official bucket manifest trees: bucket/containerd.json from https://api.github.com/repos/ScoopInstaller/Main/git/trees/master?recursive=1

## 软件包事实

- **软件包键:** brew:containerd
- **软件包管理器:** Homebrew
- **版本:** 2.3.3
- **来源摘要:** Open and reliable container runtime
- **主页:** <https://containerd.io>
- **仓库:** <https://github.com/containerd/containerd>
- **最后更新:** 2026-07-10T07:07:44Z
- **已生成:** 2026-08-03T19:37:03+00:00

## 可执行文件

- containerd (别名)
- containerd-shim-runc-v2 (别名)
- containerd-stress (别名)
- ctr (别名)

## 安装行为

- Bottle: 不可用

## 版本和新鲜度

- 页面生成时间: 2026-08-03
- 管理器版本: 2.3.3
## 项目历史与用法

containerd is a high-level container runtime daemon focused on simplicity, robustness, and portability. It manages image transfer and storage, container execution and supervision, and related storage and network attachments for Linux and Windows hosts.

### 项目历史

containerd began at Docker as a lower-layer runtime manager beneath Docker Engine and around the OCI `runc` runtime. The CNCF graduation announcement says it was born at Docker in 2014, accepted into CNCF in March 2017, and graduated in February 2019 after showing adoption, governance, and community sustainability.

### 采用历史

The official adopters file lists Docker/Moby Engine, Google Container-Optimized OS, GKE, AWS Fargate, EKS, Bottlerocket, k3s, LinuxKit, BuildKit, AKS, Firecracker, Kata Containers, Talos Linux, and other projects or services. The README also notes that containerd is designed to be embedded in larger systems rather than used directly by most end users.

### 使用方式

Operators usually run containerd as a daemon and interact with it indirectly through Kubernetes CRI, Docker/Moby, or higher-level clients. The getting-started guide distinguishes `ctr` as a bundled debugging client, `nerdctl` as a human-friendly containerd client, and `crictl` as a Kubernetes CRI debugging tool.

### 为什么软件包爱好者会关心

containerd is package-manager-important because it is the runtime substrate behind many container stacks. Distributions package the daemon, shims, `ctr`, systemd units, and configuration defaults, while upstream publishes release artifacts and maintains explicit release, LTS, Kubernetes compatibility, and platform-support policies.

### 时间线

- 2015: 0.0 release line began, according to the official release-state table.
- 2017: Accepted into CNCF in March and released v1.0.0 in December.
- 2018: v1.1.0 shipped with the CRI plugin built into release binaries and enabled by default.
- 2019: Graduated from CNCF incubation.
- 2024: v2.0.0 release published.
- 2026: v2.3 became an LTS release line with a time-based minor release cadence synchronized with Kubernetes.

### Related projects

- containerd commonly works with OCI `runc`, CNI plugins, Kubernetes CRI, Docker/Moby, BuildKit, `nerdctl`, `crictl`, Firecracker, Kata Containers, and OS-specific components such as hcsshim on Windows.

### 来源

- <https://github.com/containerd/containerd#readme>
- <https://github.com/containerd/containerd/blob/main/ADOPTERS.md>
- <https://github.com/containerd/containerd/blob/main/docs/getting-started.md>
- <https://github.com/containerd/containerd/blob/main/docs/man/containerd-config.8.md>
- <https://github.com/containerd/containerd/blob/main/RELEASES.md>
- <https://www.cncf.io/announcements/2019/02/28/cncf-announces-containerd-graduation/>
- <https://www.cncf.io/reports/containerd-project-journey-report/>
- <https://github.com/containerd/containerd/releases/tag/v1.0.0>
- <https://github.com/containerd/containerd/releases/tag/v1.1.0>
- <https://github.com/containerd/containerd/releases/tag/v2.0.0>


## 安全说明

formula declares a Homebrew service. generalized runtime or code generation signal.

- **Geiger 风险:** orange / 中
- formula declares a Homebrew service
- generalized runtime or code generation signal
- infrastructure mutation or orchestration signal


## Configuration and credential file locations

These source-backed paths show where this package keeps local settings or durable credentials. Automic Vault can use them as review targets for secret scanning, migration, and command approval.


## Configuration files

- Linux: /etc/containerd/config.toml
## 其他软件包管理器记录

- Debian apt - containerd - 1.7.24~ds1-6+deb13u1: normalized package name match | Debian stable package indexes: containerd from https://deb.debian.org/debian/dists/stable/main/binary-amd64/Packages.xz | open and reliable container runtime | https://containerd.io/
- Debian apt - golang-github-containerd-containerd-dev - 1.7.24~ds1-6+deb13u1: normalized package name match | Debian stable package indexes: golang-github-containerd-containerd-dev from https://deb.debian.org/debian/dists/stable/main/binary-amd64/Packages.xz | open and reliable container runtime (development files) | https://containerd.io/
- Nix - containerd: normalized package name match | nixpkgs package indexes: pkgs/by-name/co/containerd/package.nix from https://api.github.com/repos/NixOS/nixpkgs/git/trees/master?recursive=1
- Ubuntu apt - containerd - 1.7.12-0ubuntu4: normalized package name match | Ubuntu 24.04 LTS package indexes: containerd from https://archive.ubuntu.com/ubuntu/dists/noble/main/binary-amd64/Packages.gz | daemon to control runC | https://containerd.io
- Ubuntu apt - golang-github-containerd-containerd-dev - 1.6.24~ds1-1ubuntu1: normalized package name match | Ubuntu 24.04 LTS package indexes: golang-github-containerd-containerd-dev from https://archive.ubuntu.com/ubuntu/dists/noble/universe/binary-amd64/Packages.gz | open and reliable container runtime (development files) | https://containerd.io/
- apk - containerd - 2.3.3-r1: normalized package name match | Alpine Linux edge package indexes: containerd from https://dl-cdn.alpinelinux.org/alpine/edge/community/x86_64/APKINDEX.tar.gz | An open and reliable container runtime | https://containerd.io/
- apk - containerd-ctr - 2.3.3-r1: normalized package name match | Alpine Linux edge package indexes: containerd-ctr from https://dl-cdn.alpinelinux.org/alpine/edge/community/x86_64/APKINDEX.tar.gz | unsupported debug/admin client for containerd | https://containerd.io/
- apk - containerd-doc - 2.3.3-r1: normalized package name match | Alpine Linux edge package indexes: containerd-doc from https://dl-cdn.alpinelinux.org/alpine/edge/community/x86_64/APKINDEX.tar.gz | An open and reliable container runtime (documentation) | https://containerd.io/
- apk - containerd-openrc - 2.3.3-r1: normalized package name match | Alpine Linux edge package indexes: containerd-openrc from https://dl-cdn.alpinelinux.org/alpine/edge/community/x86_64/APKINDEX.tar.gz | An open and reliable container runtime (OpenRC init scripts) | https://containerd.io/
- apk - containerd-stress - 2.3.3-r1: normalized package name match | Alpine Linux edge package indexes: containerd-stress from https://dl-cdn.alpinelinux.org/alpine/edge/community/x86_64/APKINDEX.tar.gz | containerd-stress utility | https://containerd.io/
- apk - containerd-systemd - 2.3.3-r1: normalized package name match | Alpine Linux edge package indexes: containerd-systemd from https://dl-cdn.alpinelinux.org/alpine/edge/community/x86_64/APKINDEX.tar.gz | An open and reliable container runtime (systemd files) | https://containerd.io/
- dnf - containerd - 2.3.3-2.fc45: normalized package name match | Fedora Rawhide package metadata: containerd from https://dl.fedoraproject.org/pub/fedora/linux/development/rawhide/Everything/x86_64/os/repodata/07190dc5ae9f35ae73866675fed6d95fe6e8d9fe22c9d7cdf85862cb2ed24a4c-primary.xml.zst | An open and reliable container runtime | https://github.com/containerd/containerd
- pacman - containerd - 2.3.3-1: normalized package name match | Arch Linux sync databases: containerd from https://geo.mirror.pkgbuild.com/extra/os/x86_64/extra.db.tar.gz | An open and reliable container runtime | https://containerd.io/
- zypper - containerd - 1.7.33-1.3: normalized package name match | openSUSE Tumbleweed package metadata: containerd from https://download.opensuse.org/tumbleweed/repo/oss/repodata/50b07339cb64c8ed4091bdbabddadc1ff5737b090e478818a195b40d8a3292861a879139b4a3987c31109699fde9fbf4a716367ddf4eef77da75f96e3193d6ed-primary.xml.zst | Standalone OCI Container Daemon | https://containerd.tools
- zypper - containerd-ctr - 1.7.33-1.3: normalized package name match | openSUSE Tumbleweed package metadata: containerd-ctr from https://download.opensuse.org/tumbleweed/repo/oss/repodata/50b07339cb64c8ed4091bdbabddadc1ff5737b090e478818a195b40d8a3292861a879139b4a3987c31109699fde9fbf4a716367ddf4eef77da75f96e3193d6ed-primary.xml.zst | Client for containerd | https://containerd.tools
- zypper - containerd-devel - 1.7.33-1.3: normalized package name match | openSUSE Tumbleweed package metadata: containerd-devel from https://download.opensuse.org/tumbleweed/repo/oss/repodata/50b07339cb64c8ed4091bdbabddadc1ff5737b090e478818a195b40d8a3292861a879139b4a3987c31109699fde9fbf4a716367ddf4eef77da75f96e3193d6ed-primary.xml.zst | Source code for containerd | https://containerd.tools


## Combined YAML source

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


## 来源

- pkg.so package database
- Geiger risk classifier
- curated configuration and credential file locations
- curated package history
- pkgdb category and tag curation
- external package-manager database matches
- cross-ecosystem install command graph
