containerd

containerdApache-2.0活跃维护

工业级容器运行时,负责镜像拉取、容器生命周期和存储管理,是 Docker 与 Kubernetes 集群底层跑容器的核心组件。

An open and reliable container runtime

v2.4.2发布于 2026-10-13 22:35 UTC21,472star +8 / 7 天4,198fork同步于 2026-11-10 05:22 UTC

怎么上手

README 里没有找到可直接复制的安装命令

README 里没有找到可直接复制的安装命令,请到 README 或官方文档查看安装方式。

硬件要求

README 没有说明硬件要求。

下载:源码 zip·GitHub Releases(安装包)本站不镜像安装包

项目说明

这个项目的说明还在生成中,先参考下面「最近发版」和 README。

最近发版

5 个版本v2.4.2
  1. v2.3.7containerd 2.3.72026-10-13 · 2026-10-13 22:46 UTC
    查看更新说明

    Welcome to the v2.3.7 release of containerd!

    The seventh patch release for containerd 2.3 contains various fixes and updates including security patches.

    Security Updates

    Highlights

    Container Runtime Interface (CRI)
    • Apply hardening to not follow symlinks for container log files (#14301)
    Image Distribution
    • Apply hardening to reject image references with ".." path components (#14281)
    Runtime
    • Apply hardening to allowlist socket domains in the default seccomp profile (#14248)
    Snapshotters
    • Apply hardening to filter ID-mapping labels from image annotations during unpack (#14261)

    Please try out the release binaries and report any issues at https://github.com/containerd/containerd/issues.

    Contributors

    • Samuel Karp
    • Wei Fu
    • Maksym Pavlenko
    • Aysha Afrah Ziya
    • Derek McGowan
    • Sebastiaan van Stijn
    • Akihiro Suda
    • LEI WANG
    • Paweł Gronowski
    • Phil Estes
    • Vishal Srinivasan
    • syed abdul khaliq
    • 申玥

    Changes

    • Prepare release notes for v2.3.7 (#14339)
    • Update to go1.26.9 (#14353)
      • 320278f96 Update to go1.26.9
      • ca3d94d2f Merge commit from fork
      • 9621a5f9c remotes/docker: bound parallel fetch readers
      • dff0d82dd Merge commit from fork
      • 2181d7baa images: skip malformed digests when computing referrer labels
      • 29ed4ba2e Merge commit from fork
      • 80885a94d content, remotes: bound reads to expected size
      • 5c6687786 Merge commit from fork
      • 2e17e62e2 cri: unmount checkpoint view on every CRImportCheckpoint return path
    • integration/client: fix TestContainerExecLargeOutputWithTTY (#14306)
      • da23fb7af integration/client: fix TestContainerExecLargeOutputWithTTY
    • cri: should not follow log file (#14301)
    • reference: reject .. path components that rewrite the host (#14281)
      • [`b3dd30ae5
  2. v2.2.10containerd 2.2.102026-10-13 · 2026-10-13 22:45 UTC
    查看更新说明

    Welcome to the v2.2.10 release of containerd!

    The tenth patch release for containerd 2.2 contains various fixes and updates including security patches.

    Security Updates

    Highlights

    Container Runtime Interface (CRI)
    • Apply hardening to not follow symlinks for container log files (#14300)
    Image Distribution
    • Avoid hang and data corruption during multipart image fetch (#14316)
    • Apply hardening to reject image references with ".." path components (#14280)
    Runtime
    • Apply hardening to allowlist socket domains in the default seccomp profile (#14249)
    Snapshotters
    • Apply hardening to filter ID-mapping labels from image annotations during unpack (#14269)

    Please try out the release binaries and report any issues at https://github.com/containerd/containerd/issues.

    Contributors

    • Samuel Karp
    • Maksym Pavlenko
    • Wei Fu
    • Aysha Afrah Ziya
    • Phil Estes
    • Adrien Delorme
    • LEI WANG
    • Paweł Gronowski
    • Sebastiaan van Stijn
    • Shiming Zhang
    • syed abdul khaliq
    • 申玥

    Changes

    • Prepare release notes for v2.2.10 (#14340)
      • 27d59fe59 Prepare release notes for v2.2.10
    • Update to go1.26.9 (#14354)
      • cb4648a80 Update to go1.26.9, remove go1.25.12
      • 6fe70e5cc Merge commit from fork
      • 70c8ae49e remotes/docker: bound parallel fetch readers
      • aff52a508 Merge commit from fork
      • 2455fec2f images: skip malformed digests when computing referrer labels
      • 32fc74497 Merge commit from fork
      • 5f8c507a2 content, remotes: bound reads to expected size
      • 14da554b2 Merge commit from fork
      • c3b7534ed cri: unmount checkpoint view on every CRImportCheckpoint return path
    • Skip critest OOMKilled testcase for systemd cgroup (#14319)
      • a47da7e9b script/critest.sh: always skip OOMKilled on systemd cgroup
      • 32c566557 *: skip critest OOMKilled testcase for systemd cgroup
    • multipart fetch stability fixes (#14316) *
  3. v2.4.2containerd 2.4.2最新正式版2026-10-13 · 2026-10-13 22:35 UTC

    Welcome to the v2.4.2 release of containerd!

    The second patch release for containerd 2.4 contains various fixes and updates including security patches.

    Security Updates

    Highlights

    Container Runtime Interface (CRI)
    • Apply hardening to not follow symlinks for container log files (#14302)
    Image Distribution
    • Fix excessive memory usage during image pulls when registry downloads outpace content writes (#14342)
    • Apply hardening to reject image references with ".." path components (#14282)
    Runtime
    • Apply hardening to allowlist socket domains in the default seccomp profile (#14247)

    Please try out the release binaries and report any issues at https://github.com/containerd/containerd/issues.

    Contributors

    • Samuel Karp
    • Maksym Pavlenko
    • Sebastiaan van Stijn
    • Derek McGowan
    • LEI WANG
    • Paweł Gronowski
    • Phil Estes
    • Wei Fu
    • syed abdul khaliq

    Changes

    • 4b342aeaf Prepare release notes for v2.4.2
    • Update to go1.26.9 / go1.27.2 (security) (#14350)
    • ci: update to golangci-lint v2.14.0 (go1.27.2 compatibility) (#14347)
      • 3fb9faa68 ci: update to golangci-lint v2.14.0 (go1.27.2 compatibility)
      • 187caba38 Merge commit from fork
      • 44fd201a8 remotes/docker: bound parallel fetch readers
      • fc7adbfab Merge commit from fork
      • a2eb01f66 images: skip malformed digests when computing referrer labels
      • 39cff482d Merge commit from fork
      • 7f0c0b822 content, remotes: bound reads to expected size
    • remotes/docker: throttle worker chunk buffers (#14342)
      • 6a78f854a remotes/docker: limit chunk buffers per layer
    • cri: should not follow log file (#14302)
    • reference: reject .. path components that rewrite the host (#14282)
      • 6b631559b reference: reject .. path components that rewrite the host
    • seccomp: Use an allow-list for socket domains (#14247)
      • [7936ee578](ht
  4. v2.0.14containerd 2.0.142026-10-13 · 2026-10-13 22:26 UTC
    查看更新说明

    Welcome to the v2.0.14 release of containerd!

    The fourteenth patch release for containerd 2.0 contains various fixes and updates including a security patch.

    Security Updates

    Highlights

    Container Runtime Interface (CRI)
    • Apply hardening to not follow symlinks for container log files (#14299)
    Runtime
    • Apply hardening to allowlist socket domains in the default seccomp profile (#14251)
    Snapshotters
    • Apply hardening to filter ID-mapping labels from image annotations during unpack (#14270)

    Please try out the release binaries and report any issues at https://github.com/containerd/containerd/issues.

    Contributors

    • Samuel Karp
    • Wei Fu
    • Maksym Pavlenko
    • Aysha Afrah Ziya
    • Paweł Gronowski
    • Phil Estes
    • Shiming Zhang
    • ningmingxiao

    Changes

    • 30145a48d Prepare release notes for v2.0.14
    • eaae6434c Merge commit from fork
    • 21fd0a996 content, remotes: bound reads to expected size
    • Skip critest OOMKilled testcase for systemd cgroup (#14320)
      • eb878c296 script/critest.sh: always skip OOMKilled on systemd cgroup
      • 95be879a5 *: skip critest OOMKilled testcase for systemd cgroup
    • integration/client: fix TestContainerExecLargeOutputWithTTY (#14308)
      • 9101dc4e3 integration/client: fix TestContainerExecLargeOutputWithTTY
      • 16e119c17 ci:fix ci TestContainerExecLargeOutputWithTTY panic
    • cri: should not follow log file (#14299)
    • core/unpack: don't honor id-mapping labels from image annotations (#14270)
      • 1e0b4964e core/unpack: tighten comments around id-mapping label filtering
      • 6e9229820 core/unpack: don't honor id-mapping labels from image annotations
    • seccomp: Use an allow-list for socket domains (#14251)
      • 1183551f1 seccomp: Use an allow-list for socket domains
    • Conditional actions (#14250)
      • 29ab0dcca [CI] Prevents triggering of an inactive issue/PR check for forked repository.
      • 23c28d68c Makefile: remove go mod download from integration
      • 4b3976166 ci: skip linters steps i
  5. v2.4.1containerd 2.4.12026-09-24 · 2026-09-24 23:40 UTC
    查看更新说明

    Welcome to the v2.4.1 release of containerd!

    The first patch release for containerd 2.4 contains various fixes and updates including a security patch.

    Security Updates

    Highlights

    Container Runtime Interface (CRI)
    • Fix bug where failed container start cleanup leaked tasks and prevented container removal (#14223)
    • Fix bug where container creation failed when SELinux relabeling was unsupported by the filesystem (#14212)
    Image Distribution
    • Fix content upload failures when retrying fetch content after reaching EOF (#14197)
    Snapshotters
    • Apply hardening to filter ID-mapping labels from image annotations during unpack (#14200)
    ctr development tool
    • Fix bug where arguments following "-" were dropped in "ctr images export" (#14219)
    • Fix bug where container command arguments were parsed as flags in "ctr run", "ctr containers create", "ctr tasks exec", and "containerd oci-hook" (#14215)
    • Fix bug where comma-separated flag values were incorrectly split in ctr subcommands (#14188)

    Please try out the release binaries and report any issues at https://github.com/containerd/containerd/issues.

    Contributors

    • Samuel Karp
    • Aysha Afrah Ziya
    • Chris Henzie
    • CrazyMax
    • Maksym Pavlenko
    • Nan Liu
    • Sebastiaan van Stijn

    Changes

    • 9f7f70fc31 Prepare release notes for v2.4.1
    • 98e88f2afe Merge commit from fork
    • e0c8eed120 Bound Walk references
    • ddf544326a Bound Dispatch concurrency and references
    • cri: don't leak task when StartContainer cleanup fails to delete task (#14223)
      • 9e8abe0405 cri: fix process leak when start cleanup fails to delete task
    • ctr: preserve args after "-" in images export (#14219)
      • acbdd57f0d ctr: preserve args after "-" in images export
    • ctr: fix flag parsing issues in run, containers create, tasks exec, and oci-hook (#14215)
      • a2e9a5196e cmd/containerd: stop flag parsing on oci-hook
      • 2d0e53474d ctr: stop flag parsing before container command
    • cri: tolerate wrapped ENOTSUP during relabel (#14212)
      • eb2dfa125d cri: tolerate wrapped ENOTSUP during relabel
    • core/unpack: don't honor id-mapping labels from image annotations (#14200)
      • 429f317b55 core/unpack: tighten comments around id-mapping label filtering

用户点评

登录用户的真实使用记录,可按版本和硬件筛选
共 0 条

    还没有人点评。第一个说出真实体验的人最有价值。

    README 原文

    未翻译

    containerd banner light mode containerd banner dark mode

    PkgGoDev Build Status Nightlies CII Best Practices OpenSSF Scorecard Check Links

    containerd is an industry-standard container runtime with an emphasis on simplicity, robustness, and portability. It is available as a daemon for Linux and Windows, which can manage the complete container lifecycle of its host system: image transfer and storage, container execution and supervision, low-level storage and network attachments, etc.

    containerd is a member of CNCF with 'graduated' status.

    containerd is designed to be embedded into a larger system, rather than being used directly by developers or end-users.

    architecture

    Announcements

    Now Recruiting

    We are a large inclusive OSS project that is welcoming help of any kind shape or form:

    • Documentation help is needed to make the product easier to consume and extend.
    • We need OSS community outreach/organizing help to get the word out; manage and create messaging and educational content; and help with social media, community forums/groups, and google groups.
    • We are actively inviting new security advisors to join the team.
    • New subprojects are being created, core and non-core that could use additional development help.
    • Each of the containerd projects has a list of issues currently being worked on or that need help resolving.
      • If the issue has not already been assigned to someone or has not made recent progress, and you are interested, please inquire.
      • If you are interested in starting with a smaller/beginner-level issue, look for issues with an exp/beginner tag, for example containerd/containerd beginner issues.

    Getting Started

    See our documentation on containerd.io:

    To get started contributing to containerd, see CONTRIBUTING.

    If you are interested in trying out containerd see our example at Getting Started.

    Nightly builds

    There are nightly builds available for download here. Binaries are generated from main branch every night for Linux and Windows.

    Please be aware: nightly builds might have critical bugs, it's not recommended for use in production and no support provided.

    Kubernetes (k8s) CI Dashboard Group

    The k8s CI dashboard group for containerd contains test results regarding the health of kubernetes when run against main and a number of containerd release branches.

    Runtime Requirements

    Runtime requirements for containerd are very minimal. Most interactions with the Linux and Windows container feature sets are handled via runc and/or OS-specific libraries (e.g. hcsshim for Microsoft). The current required version of runc is described in RUNC.md.

    There are specific features used by containerd core code and snapshotters that will require a minimum kernel version on Linux. With the understood caveat of distro kernel versioning, a reasonable starting point for Linux is a minimum 4.x kernel version.

    The overlay filesystem snapshotter, used by default, uses features that were finalized in the 4.x kernel series. If you choose to use btrfs, there may be more flexibility in kernel version (minimum recommended is 3.18), but will require the btrfs kernel module and btrfs tools to be installed on your Linux distribution.

    To use Linux checkpoint and restore features, you will need criu installed on your system.

    Build requirements for developers are listed in BUILDING.

    Supported Registries

    Any registry which is compliant with the OCI Distribution Specification is supported by containerd.

    For configuring registries, see registry host configuration documentation

    Features

    For a detailed overview of containerd's core concepts and the features it supports, please refer to the FEATURES.MD document.

    Releases and API Stability

    Please see RELEASES.md for details on versioning and stability of containerd components.

    Downloadable 64-bit Intel/AMD binaries of all official releases are available on our releases page. Binaries are published for additional platforms as well; see Platform Support for the full list of platforms and the level of support for each.

    For other architectures and distribution support, you will find that many Linux distributions package their own containerd and provide it across several architectures, such as Canonical's Ubuntu packaging.

    Enabling command auto-completion

    Starting with containerd 1.4, the urfave client feature for auto-creation of bash and zsh autocompletion data is enabled. To use the autocomplete feature in a bash shell for example, source the autocomplete/ctr file in your .bashrc, or manually like:

    $ source ./contrib/autocomplete/ctr
    
    Distribution of ctr autocomplete for bash and zsh

    For bash, copy the contrib/autocomplete/ctr script into /etc/bash_completion.d/ and rename it to ctr. The zsh_autocomplete file is also available and can be used similarly for zsh users.

    Provide documentation to users to source this file into their shell if you don't place the autocomplete file in a location where it is automatically loaded for the user's shell environment.

    CRI

    cri is a containerd plugin implementation of the Kubernetes container runtime interface (CRI). With it, you are able to use containerd as the container runtime for a Kubernetes cluster.

    cri

    CRI Status

    cri is a native plugin of containerd. Since containerd 1.1, the cri plugin is built into the release binaries and enabled by default.

    The cri plugin has reached GA status, representing that it is:

    See results on the containerd k8s test dashboard

    Validating Your cri Setup

    A Kubernetes incubator project, cri-tools, includes programs for exercising CRI implementations. More importantly, cri-tools includes the program critest which is used for running CRI Validation Testing.

    CRI Guides

    Communication

    For async communication and long-running discussions please use issues and pull requests on the GitHub repo. This will be the best place to discuss design and implementation.

    For sync communication catch us in the #containerd and #containerd-dev Slack channels on Cloud Native Computing Foundation's (CNCF) Slack - cloud-native.slack.com. Everyone is welcome to join and chat. Get Invite to CNCF Slack.

    Join our next community meeting hosted on Zoom. The schedule is posted on the CNCF Calendar (search 'containerd' to filter).

    Security audit

    Security audits for the containerd project are hosted on our website. Please see the security page at containerd.io for more information.

    Reporting security issues

    Please follow the instructions at containerd/project

    Licenses

    The containerd codebase is released under the Apache 2.0 license. The README.md file and files in the "docs" folder are licensed under the Creative Commons Attribution 4.0 International License. You may obtain a copy of the license, titled CC-BY-4.0, at http://creativecommons.org/licenses/by/4.0/.

    Project details

    containerd is the primary open source project within the broader containerd GitHub organization. However, all projects within the repo have common maintainership, governance, and contributing guidelines which are stored in a project repository commonly for all containerd projects.

    Please find all these core project documents, including the:

    information in our containerd/project repository.

    Adoption

    Interested to see who is using containerd? Are you using containerd in a project? Please add yourself via pull request to our ADOPTERS.md file.