Welcome to the v2.4.3 release of containerd!
The third patch release for containerd 2.4 contains various fixes
and updates.
Highlights
Container Runtime Interface (CRI)
- Fix image pulls being cancelled for no progress while layers are being unpacked (#14618)
Image Distribution
- Fix image pulls attempting registry hosts configured without pull capability (#14660)
- Fix image push hanging indefinitely when registry authorization fails (#14448)
Image Storage
- Fix regression where content copy rejected "-1" as an unknown size (#14435)
Runtime
- Apply hardening to deny AF_ALG and AF_VSOCK sockets in the default AppArmor profile (#14679)
- Fix default AppArmor profile denying signals and ptrace between processes of the same container when profiles are stacked (#14591)
- Fix task state queries timing out while a runc shim is deleting a process (#14484)
- Fix tasks being omitted from task list and get when the shim State call times out (#14489)
Snapshotters
- Fix overlay directory removal and rename failures in rootless mode with tmpfs root on Linux 6.6+ (#14613)
Please try out the release binaries and report any issues at
https://github.com/containerd/containerd/issues.
Contributors
- Maksym Pavlenko
- Sebastiaan van Stijn
- Samuel Karp
- Mike Brown
- Phil Estes
- Akihiro Suda
- Antonio Ojea
- Paweł Gronowski
- Sebastien Tardif
- Tariq Ibrahim
- Wei Fu
- Davanum Srinivas
- Derek McGowan
- Eric Curtin
- Ivan Hell
- Md Tahsin Rahman
- Michael Zappa
- Mykhaylo Sul
- Srinivas Chippagiri
- Tõnis Tiigi
- jony montana
- panadaWall
- psamuelvijay
Changes
78 commits
- Prepare release notes for v2.4.3 (#14648)
5f0ebb410Prepare release notes for v2.4.3
- runtime/v2: re-resolve stale shim binary path on load (#14683)
578e217e5runtime/v2: re-resolve stale shim binary path on load
- docker: fetch only from hosts with pull capability (backport of f50f9… (#14660)
4c853b58adocker: fetch only from hosts with pull capability
- contrib/apparmor: deny AF_ALG and AF_VSOCK sockets (backport of 29f1191, 5e13730) (#14679)
- vendor: github.com/go-jose/go-jose/v4 v4.1.7 (security) (#14653)
- go.mod: github.com/moby/sys/user v0.5.1 (#14652)
c033063adgo.mod: github.com/moby/sys/user v0.5.1
- go.mod: go.opentelemetry.io/otel v1.47.0 (#14644)
d6b1d7653go.mod: go.opentelemetry.io/otel v1.47.0
- cri: Fix image pull progress timeout during unpack (#14618)
7d02c0d6bcri: Fix image pull progress timeout during unpack
- overlay: use userxattr on tmpfs when it supports user xattrs (#14613)
04aa7c14aoverlay: use userxattr on tmpfs when it supports user xattrs
- core/unpack: ignore child mounts when detecting staged layers (#14594)
bf8ebd33bcore/unpack: ignore child mounts when detecting staged layers
- CI: install kernel-module-extra from image's point release (#14596)
72f6b0586script/vm: install kernel-modules-extra from the image's point release
- go.mod: keep patch version at lowest possible (#14376)
1bcec1c10go.mod: keep patch version at lowest possible
- apparmor: allow signals and ptrace for stacked profile peers (#14591)
7b7e53d0capparmor: allow signals and ptrace for unconfined stacked peers
- Update NRI to latest (0.12.5) (#14477)
a70cfce47update nri to latest
- Update to go1.27.4 and go1.26.11 (#14544)
c046af2d6Update to go1.27.4 and go1.26.11
- update runc binary to v1.5.3 (security) (#14564)
37edccf00update runc binary to v1.5.3
- sandbox: convert shim metrics errors to native errors (#14556)
67f33a61fsandbox: convert shim metrics errors to native errors
- remotes/docker: close request body when authorization fails (#14448)
b749b54c5remotes/docker: close request body when authorization fails
- runc-shim: don't block State on in-flight Delete (#14484)
1130a1f4crunc-shim: don't block State on in-flight Delete
- Revert "fix: propagate
context deadline exceedederror properly" (#14489)172735153Revert "fix: propagatecontext deadline exceedederror properly"
- vendor: google.golang.org/grpc v1.85.0 (#14474)
0191ec46dvendor: google.golang.org/grpc v1.85.0
- build(deps): bump github.com/klauspost/compress to 1.20.3 (#14471)
- script/setup/install-runc: build runc statically (#14465)
4d1132afbscript/setup/install-runc: build runc statically
- Drop upgrade tests from 1.7, add 2.3 (#14456)
- update runhcs to v0.15.0 (#14450)
de7e85142update runhcs to v0.15.0
- Update to Go 1.27.3 / 1.26.10 (#14440)
7c96531cdUpdate to Go 1.27.3 / 1.26.10
- core/content: Copy: restore support for "-1" as unknown size (#14435)
ab796e84dcore/content: Copy: restore support for "-1" as unknown sizee7d937989ctr: push-object: check for negative content size0f79cf954remotes: PushHandler: reject negative descriptor sizesf36db2de5core/content: WriteBlob: reject negative descriptor sizes296989cbbcontent/testsuite: specify blob sizes in WriteBlob tests
- cri: record pull progress on request events (#14428)
ebbaaccbdcri: record pull progress on request events
- fixes for runtime_platforms migration (#14400)
4485e55f7fixes or runtime_platforms migration
- fixes nil config flakes for spec and runtimeoptions (#14399)
e2ba25eb4fixes nil config flakes for spec and runtimeoptions
- vendor: golang.org/x/net v0.60.0 (security) (#14352)
1350ed10dvendor: golang.org/x/net v0.60.0
- workflows: pin runner to ubuntu-24.04 (#14392)
f2fb510ccworkflows: pin runner to ubuntu-24.04
- ci: retry limactl start on VM boot failure (#14390)
430f4ec11ci: retry limactl start on VM boot failure
- erofs: sync a layer before committing its snapshot (#14366)
b5a23bb55erofs: add fsync_on_commit to sync a layer before its commit
- script/vm: mask systemd-tmpfiles-clean.timer (#14384)
590358f84script/vm: mask systemd-tmpfiles-clean.timer
Changes from containerd/nri
13 commits
- adaptation: do not relay requests to a plugin whose connection is closed (containerd/nri#338)
01c96c7adaptation: do not relay requests to a plugin whose connection is closed
- multiplex: reject frames with oversized payload length (containerd/nri#327)
53f1929multiplex: reject frames with oversized payload length
- minor[version.go]: use ParseUint instead of ParseInt (containerd/nri#334)
49f3614minor[version.go]: use ParseUint instead of ParseInt
- Failure policy (containerd/nri#329)
- replace x/mod semver with local implementation (containerd/nri#320)
1365084replace x/mod semver with local implementation
Dependency Changes
- github.com/containerd/nri v0.12.3 -> v0.12.5
- github.com/go-jose/go-jose/v4 v4.1.5 -> v4.1.7
- github.com/klauspost/compress v1.20.0 -> v1.20.3
- github.com/moby/sys/user v0.4.1 -> v0.5.1
- go.opentelemetry.io/contrib/instrumentation/google.golang.org/grpc/otelgrpc v0.71.0 -> v0.72.0
- go.opentelemetry.io/contrib/instrumentation/net/http/otelhttp v0.71.0 -> v0.72.0
- go.opentelemetry.io/contrib/propagators/envcar v0.71.0 -> v0.72.0
- go.opentelemetry.io/otel v1.46.0 -> v1.47.0
- go.opentelemetry.io/otel/exporters/otlp/otlptrace v1.46.0 -> v1.47.0
- go.opentelemetry.io/otel/exporters/otlp/otlptrace/otlptracegrpc v1.46.0 -> v1.47.0
- go.opentelemetry.io/otel/exporters/otlp/otlptrace/otlptracehttp v1.46.0 -> v1.47.0
- go.opentelemetry.io/otel/log v1.47.0 new
- go.opentelemetry.io/otel/metric v1.46.0 -> v1.47.0
- go.opentelemetry.io/otel/sdk v1.46.0 -> v1.47.0
- go.opentelemetry.io/otel/trace v1.46.0 -> v1.47.0
- golang.org/x/crypto v0.56.0 -> v0.57.0
- golang.org/x/net v0.58.0 -> v0.60.0
- golang.org/x/term v0.45.0 -> v0.46.0
- golang.org/x/text v0.41.0 -> v0.42.0
- google.golang.org/genproto/googleapis/api da73d73af1c5 -> 8a89bd6388cc
- google.golang.org/genproto/googleapis/rpc da73d73af1c5 -> 8a89bd6388cc
- google.golang.org/grpc v1.83.2 -> v1.85.0
Previous release can be found at v2.4.2
Which file should I download?
containerd-<VERSION>-<OS>-<ARCH>.tar.gz: ✅Recommended. Dynamically linked with glibc 2.35 (Ubuntu 22.04).containerd-static-<VERSION>-<OS>-<ARCH>.tar.gz: Statically linked. Expected to be used on Linux distributions that do not use glibc >= 2.35. Not position-independent.
In addition to containerd, typically you will have to install runc
and CNI plugins from their official sites too.
See also the Getting Started documentation.