github containerd/containerd v2.4.3
containerd 2.4.3

59 minutes ago

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)
  • runtime/v2: re-resolve stale shim binary path on load (#14683)
    • 578e217e5 runtime/v2: re-resolve stale shim binary path on load
  • docker: fetch only from hosts with pull capability (backport of f50f9… (#14660)
    • 4c853b58a docker: fetch only from hosts with pull capability
  • contrib/apparmor: deny AF_ALG and AF_VSOCK sockets (backport of 29f1191, 5e13730) (#14679)
    • 72bf9e179 contrib/apparmor: Deny AF_VSOCK sockets in default container profile
    • ed5a2c407 contrib/apparmor: Deny AF_ALG sockets in default container profile
  • vendor: github.com/go-jose/go-jose/v4 v4.1.7 (security) (#14653)
    • 970e732c4 vendor: github.com/go-jose/go-jose/v4 v4.1.7 (security)
    • a1a5e05a5 vendor: github.com/go-jose/go-jose/v4 v4.1.6 (security)
  • go.mod: github.com/moby/sys/user v0.5.1 (#14652)
    • c033063ad go.mod: github.com/moby/sys/user v0.5.1
  • go.mod: go.opentelemetry.io/otel v1.47.0 (#14644)
    • d6b1d7653 go.mod: go.opentelemetry.io/otel v1.47.0
  • cri: Fix image pull progress timeout during unpack (#14618)
    • 7d02c0d6b cri: Fix image pull progress timeout during unpack
  • overlay: use userxattr on tmpfs when it supports user xattrs (#14613)
    • 04aa7c14a overlay: use userxattr on tmpfs when it supports user xattrs
  • core/unpack: ignore child mounts when detecting staged layers (#14594)
    • bf8ebd33b core/unpack: ignore child mounts when detecting staged layers
  • CI: install kernel-module-extra from image's point release (#14596)
    • 72f6b0586 script/vm: install kernel-modules-extra from the image's point release
  • go.mod: keep patch version at lowest possible (#14376)
    • 1bcec1c10 go.mod: keep patch version at lowest possible
  • apparmor: allow signals and ptrace for stacked profile peers (#14591)
    • 7b7e53d0c apparmor: allow signals and ptrace for unconfined stacked peers
  • Update NRI to latest (0.12.5) (#14477)
  • Update to go1.27.4 and go1.26.11 (#14544)
  • update runc binary to v1.5.3 (security) (#14564)
  • sandbox: convert shim metrics errors to native errors (#14556)
    • 67f33a61f sandbox: convert shim metrics errors to native errors
  • remotes/docker: close request body when authorization fails (#14448)
    • b749b54c5 remotes/docker: close request body when authorization fails
  • runc-shim: don't block State on in-flight Delete (#14484)
    • 1130a1f4c runc-shim: don't block State on in-flight Delete
  • Revert "fix: propagate context deadline exceeded error properly" (#14489)
    • 172735153 Revert "fix: propagate context deadline exceeded error properly"
  • vendor: google.golang.org/grpc v1.85.0 (#14474)
    • 0191ec46d vendor: google.golang.org/grpc v1.85.0
  • build(deps): bump github.com/klauspost/compress to 1.20.3 (#14471)
    • 72453b868 build(deps): bump github.com/klauspost/compress from 1.20.1 to 1.20.3
    • fb7714f2f vendor: github.com/klauspost/compress v1.20.1
  • script/setup/install-runc: build runc statically (#14465)
    • 4d1132afb script/setup/install-runc: build runc statically
  • Drop upgrade tests from 1.7, add 2.3 (#14456)
    • f1caf8beb integration: test upgrades from 2.3 and 2.4
    • 908426850 integration: drop upgrade tests from 1.7
  • update runhcs to v0.15.0 (#14450)
  • Update to Go 1.27.3 / 1.26.10 (#14440)
  • core/content: Copy: restore support for "-1" as unknown size (#14435)
    • ab796e84d core/content: Copy: restore support for "-1" as unknown size
    • e7d937989 ctr: push-object: check for negative content size
    • 0f79cf954 remotes: PushHandler: reject negative descriptor sizes
    • f36db2de5 core/content: WriteBlob: reject negative descriptor sizes
    • 296989cbb content/testsuite: specify blob sizes in WriteBlob tests
  • cri: record pull progress on request events (#14428)
    • ebbaaccbd cri: record pull progress on request events
  • fixes for runtime_platforms migration (#14400)
    • 4485e55f7 fixes or runtime_platforms migration
  • fixes nil config flakes for spec and runtimeoptions (#14399)
    • e2ba25eb4 fixes nil config flakes for spec and runtimeoptions
  • vendor: golang.org/x/net v0.60.0 (security) (#14352)
  • workflows: pin runner to ubuntu-24.04 (#14392)
    • f2fb510cc workflows: pin runner to ubuntu-24.04
  • ci: retry limactl start on VM boot failure (#14390)
    • 430f4ec11 ci: retry limactl start on VM boot failure
  • erofs: sync a layer before committing its snapshot (#14366)
    • b5a23bb55 erofs: add fsync_on_commit to sync a layer before its commit
  • script/vm: mask systemd-tmpfiles-clean.timer (#14384)
    • 590358f84 script/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)
    • 01c96c7 adaptation: do not relay requests to a plugin whose connection is closed
  • multiplex: reject frames with oversized payload length (containerd/nri#327)
    • 53f1929 multiplex: reject frames with oversized payload length
  • minor[version.go]: use ParseUint instead of ParseInt (containerd/nri#334)
    • 49f3614 minor[version.go]: use ParseUint instead of ParseInt
  • Failure policy (containerd/nri#329)
    • 0a7f870 adaptation: add tests for the failure scenarios raised in review
    • 9ba3d2d api: apply review wording suggestions to FailurePolicy
    • e4785d7 api,adaptation,stub: add a per-plugin failure policy
    • 2e15eef adaptation: factor plugin request error handling into one helper
  • replace x/mod semver with local implementation (containerd/nri#320)
    • 1365084 replace 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.

Don't miss a new containerd release

NewReleases is sending notifications on new releases.