github containerd/nerdctl v2.4.3

2 hours ago

Changes

  • Cherry-picks from main to release/2.4 #5387
    • nerdctl container: Fix --device-cgroup-rule not to depend on the runtime-added default entries, and to accept * with crun on cgroup v1 (#5319, thanks to @TDnorthgarden)
    • nerdctl container: Do not set the default net.ipv4.ip_unprivileged_port_start sysctl on kernels without it (< 4.11) (#5361, thanks to @dingyiyi0226)
    • nerdctl container: Apply the default propagation to shorthand bind mounts (-v SRC:DST) (#5366, thanks to @qwe962)
    • nerdctl container: Strip the UTF-8 BOM from --env-file (#5312, thanks to @sarankumar1325)
    • nerdctl cp: Keep host-to-container writes inside the container mount, even when a process in the container replaces a path component with a symlink (#5336, thanks to @danielcho02)
    • nerdctl image: Fix nerdctl tag with an image ID as the source (#5356, thanks to @immanuwell)
    • nerdctl image: Fix nerdctl load and nerdctl {run,create} oci-archive://... occasionally missing the loaded images (#5373)
    • nerdctl compose: Fix create_host_path creating only the host path of the last bind volume (#5318, thanks to @ogulcanaydogan)
    • nerdctl logs: Fix the default fluentd-retry-wait of the fluentd logging driver (#5321, thanks to @ogulcanaydogan)
    • Fix a hang after a failure to lock the file store (#5314, thanks to @ogulcanaydogan)
    • go.mod: Update containerd library to v2.4.3, which hardens the nerdctl-default AppArmor profile and fixes it for stacked profiles (#5385, #5388)
    • nerdctl-full: Update containerd (2.4.3), runc (1.6.0), CNI plugins (1.10.0), BuildKit (0.35.1), RootlessKit (3.4.0) (#5329, #5385)

Full changes: https://github.com/containerd/nerdctl/milestone/71?closed=1
Thanks to @TDnorthgarden @danielcho02 @dingyiyi0226 @immanuwell @ogulcanaydogan @qwe962 @sarankumar1325

Note

Claude was used for drafting this release note

Compatible containerd versions

This release of nerdctl is expected to be used with containerd v1.7 or later.
Some features may not work with other releases of containerd.

About the binaries

  • Minimal (nerdctl-2.4.3-linux-amd64.tar.gz): nerdctl only
  • Full (nerdctl-full-2.4.3-linux-amd64.tar.gz): Includes dependencies such as containerd, runc, and CNI

Minimal

Extract the archive to a path like /usr/local/bin or ~/bin .

tar Cxzvvf /usr/local/bin nerdctl-2.4.3-linux-amd64.tar.gz

-rwxr-xr-x root/root  32653474 2026-12-04 09:15 nerdctl
-rwxr-xr-x root/root     23390 2026-12-04 09:14 containerd-rootless-setuptool.sh
-rwxr-xr-x root/root      9555 2026-12-04 09:14 containerd-rootless.sh

Full

Extract the archive to a path like /usr/local or ~/.local .

tar Cxzvvf /usr/local nerdctl-full-2.4.3-linux-amd64.tar.gz

drwxr-xr-x 0/0               0 2026-12-04 09:24 bin/
-rwxr-xr-x 0/0        35092081 2026-11-19 17:09 bin/buildctl
-rwxr-xr-x 0/0        29909144 2025-05-12 13:10 bin/buildg
lrwxrwxrwx 0/0               0 2026-12-04 09:23 bin/buildkit-cni-bandwidth -> ../libexec/cni/bandwidth
lrwxrwxrwx 0/0               0 2026-12-04 09:23 bin/buildkit-cni-bridge -> ../libexec/cni/bridge
lrwxrwxrwx 0/0               0 2026-12-04 09:23 bin/buildkit-cni-dhcp -> ../libexec/cni/dhcp
lrwxrwxrwx 0/0               0 2026-12-04 09:23 bin/buildkit-cni-dummy -> ../libexec/cni/dummy
lrwxrwxrwx 0/0               0 2026-12-04 09:23 bin/buildkit-cni-firewall -> ../libexec/cni/firewall
lrwxrwxrwx 0/0               0 2026-12-04 09:23 bin/buildkit-cni-host-device -> ../libexec/cni/host-device
lrwxrwxrwx 0/0               0 2026-12-04 09:23 bin/buildkit-cni-host-local -> ../libexec/cni/host-local
lrwxrwxrwx 0/0               0 2026-12-04 09:23 bin/buildkit-cni-ipvlan -> ../libexec/cni/ipvlan
lrwxrwxrwx 0/0               0 2026-12-04 09:23 bin/buildkit-cni-loopback -> ../libexec/cni/loopback
lrwxrwxrwx 0/0               0 2026-12-04 09:23 bin/buildkit-cni-macvlan -> ../libexec/cni/macvlan
lrwxrwxrwx 0/0               0 2026-12-04 09:23 bin/buildkit-cni-portmap -> ../libexec/cni/portmap
lrwxrwxrwx 0/0               0 2026-12-04 09:23 bin/buildkit-cni-ptp -> ../libexec/cni/ptp
lrwxrwxrwx 0/0               0 2026-12-04 09:23 bin/buildkit-cni-sbr -> ../libexec/cni/sbr
lrwxrwxrwx 0/0               0 2026-12-04 09:23 bin/buildkit-cni-static -> ../libexec/cni/static
lrwxrwxrwx 0/0               0 2026-12-04 09:23 bin/buildkit-cni-tap -> ../libexec/cni/tap
lrwxrwxrwx 0/0               0 2026-12-04 09:23 bin/buildkit-cni-tuning -> ../libexec/cni/tuning
lrwxrwxrwx 0/0               0 2026-12-04 09:23 bin/buildkit-cni-vlan -> ../libexec/cni/vlan
lrwxrwxrwx 0/0               0 2026-12-04 09:23 bin/buildkit-cni-vrf -> ../libexec/cni/vrf
-rwxr-xr-x 0/0        81658881 2026-11-19 17:09 bin/buildkitd
-rwxr-xr-x 0/0        16870384 2026-12-04 09:22 bin/bypass4netns
-rwxr-xr-x 0/0         6615202 2026-12-04 09:22 bin/bypass4netnsd
-rwxr-xr-x 0/0        40604368 2026-12-04 09:22 bin/containerd
-rwxr-xr-x 0/0        12079288 2025-11-06 01:44 bin/containerd-fuse-overlayfs-grpc
-rwxr-xr-x 0/0           23390 2026-12-04 09:24 bin/containerd-rootless-setuptool.sh
-rwxr-xr-x 0/0            9555 2026-12-04 09:24 bin/containerd-rootless.sh
-rwxr-xr-x 0/0         8143010 2026-12-04 09:22 bin/containerd-shim-runc-v2
-rwxr-xr-x 0/0        60186784 2026-10-27 07:32 bin/containerd-stargz-grpc
-rwxr-xr-x 0/0        24852942 2026-12-04 09:23 bin/ctd-decoder
-rwxr-xr-x 0/0        23244962 2026-12-04 09:22 bin/ctr
-rwxr-xr-x 0/0        34421362 2026-12-04 09:23 bin/ctr-enc
-rwxr-xr-x 0/0        25022624 2026-10-27 07:32 bin/ctr-remote
-rwxr-xr-x 0/0         1695520 2026-12-04 09:23 bin/fuse-overlayfs
-rwxr-xr-x 0/0        11153570 2026-12-04 09:22 bin/gomodjail
-rwxr-xr-x 0/0        32616610 2026-12-04 09:24 bin/nerdctl
-rwxr-xr-x 0/0        43778928 2026-12-04 09:24 bin/nerdctl.gomodjail
-rwxr-xr-x 0/0        12487445 2026-12-02 02:47 bin/rootlessctl
-rwxr-xr-x 0/0        24330503 2026-12-02 02:47 bin/rootlesskit
-rwxr-xr-x 0/0        11146576 2026-12-04 09:22 bin/runc
-rwxr-xr-x 0/0        59388064 2026-10-27 07:32 bin/stargz-fuse-manager
-rwxr-xr-x 0/0        11448480 2026-10-27 07:32 bin/stargz-store-helper
-rwxr-xr-x 0/0          870496 2026-12-04 09:23 bin/tini
drwxr-xr-x 0/0               0 2026-12-04 09:23 lib/
drwxr-xr-x 0/0               0 2026-12-04 09:23 lib/systemd/
drwxr-xr-x 0/0               0 2026-12-04 09:23 lib/systemd/system/
-rw-r--r-- 0/0            1309 2026-12-04 09:23 lib/systemd/system/buildkit.service
-rw-r--r-- 0/0            1248 2026-12-04 09:21 lib/systemd/system/containerd.service
-rw-r--r-- 0/0             312 2026-12-04 09:23 lib/systemd/system/stargz-snapshotter.service
drwxr-xr-x 0/0               0 2026-12-04 09:23 libexec/
drwxr-xr-x 0/0               0 2026-11-09 16:11 libexec/cni/
-rw-r--r-- 0/0           11357 2026-11-09 16:11 libexec/cni/LICENSE
-rw-r--r-- 0/0            2343 2026-11-09 16:11 libexec/cni/README.md
-rwxr-xr-x 0/0         6259693 2026-11-09 16:11 libexec/cni/bandwidth
-rwxr-xr-x 0/0         9347851 2026-11-09 16:11 libexec/cni/bridge
-rwxr-xr-x 0/0        15336356 2026-11-09 16:11 libexec/cni/dhcp
-rwxr-xr-x 0/0         8840214 2026-11-09 16:11 libexec/cni/dummy
-rwxr-xr-x 0/0         6737591 2026-11-09 16:11 libexec/cni/firewall
-rwxr-xr-x 0/0         8820680 2026-11-09 16:11 libexec/cni/host-device
-rwxr-xr-x 0/0         5606278 2026-11-09 16:11 libexec/cni/host-local
-rwxr-xr-x 0/0         8864997 2026-11-09 16:11 libexec/cni/ipvlan
-rwxr-xr-x 0/0         5332267 2026-11-09 16:11 libexec/cni/loopback
-rwxr-xr-x 0/0         8899791 2026-11-09 16:11 libexec/cni/macvlan
-rwxr-xr-x 0/0         6398844 2026-11-09 16:11 libexec/cni/portmap
-rwxr-xr-x 0/0         9147409 2026-11-09 16:11 libexec/cni/ptp
-rwxr-xr-x 0/0         5576217 2026-11-09 16:11 libexec/cni/sbr
-rwxr-xr-x 0/0         4921234 2026-11-09 16:11 libexec/cni/static
-rwxr-xr-x 0/0         9051124 2026-11-09 16:11 libexec/cni/tap
-rwxr-xr-x 0/0         5415563 2026-11-09 16:11 libexec/cni/tuning
-rwxr-xr-x 0/0         8862220 2026-11-09 16:11 libexec/cni/vlan
-rwxr-xr-x 0/0         5738406 2026-11-09 16:11 libexec/cni/vrf
drwxr-xr-x 0/0               0 2026-12-04 09:21 share/
drwxr-xr-x 0/0               0 2026-12-04 09:24 share/doc/
drwxr-xr-x 0/0               0 2026-12-04 09:24 share/doc/nerdctl/
-rw-r--r-- 0/0           12380 2026-12-04 09:14 share/doc/nerdctl/README.md
drwxr-xr-x 0/0               0 2026-12-04 09:14 share/doc/nerdctl/docs/
-rw-r--r-- 0/0            3953 2026-12-04 09:14 share/doc/nerdctl/docs/build.md
-rw-r--r-- 0/0            2570 2026-12-04 09:14 share/doc/nerdctl/docs/builder-debug.md
-rw-r--r-- 0/0            4779 2026-12-04 09:14 share/doc/nerdctl/docs/cni.md
-rw-r--r-- 0/0           97982 2026-12-04 09:14 share/doc/nerdctl/docs/command-reference.md
-rw-r--r-- 0/0            1895 2026-12-04 09:14 share/doc/nerdctl/docs/compose.md
-rw-r--r-- 0/0            7903 2026-12-04 09:14 share/doc/nerdctl/docs/config.md
-rw-r--r-- 0/0            9138 2026-12-04 09:14 share/doc/nerdctl/docs/cosign.md
-rw-r--r-- 0/0            5652 2026-12-04 09:14 share/doc/nerdctl/docs/cvmfs.md
drwxr-xr-x 0/0               0 2026-12-04 09:14 share/doc/nerdctl/docs/dev/
-rw-r--r-- 0/0           12701 2026-12-04 09:14 share/doc/nerdctl/docs/dev/auditing_dockerfile.md
-rw-r--r-- 0/0            8587 2026-12-04 09:14 share/doc/nerdctl/docs/dev/store.md
-rw-r--r-- 0/0            3148 2026-12-04 09:14 share/doc/nerdctl/docs/dir.md
-rw-r--r-- 0/0            1826 2026-12-04 09:14 share/doc/nerdctl/docs/erofs.md
-rw-r--r-- 0/0             906 2026-12-04 09:14 share/doc/nerdctl/docs/experimental.md
-rw-r--r-- 0/0           14763 2026-12-04 09:14 share/doc/nerdctl/docs/faq.md
-rw-r--r-- 0/0             884 2026-12-04 09:14 share/doc/nerdctl/docs/freebsd.md
-rw-r--r-- 0/0            5585 2026-12-04 09:14 share/doc/nerdctl/docs/gpu.md
-rw-r--r-- 0/0            3919 2026-12-04 09:14 share/doc/nerdctl/docs/healthchecks.md
drwxr-xr-x 0/0               0 2026-12-04 09:14 share/doc/nerdctl/docs/images/
-rw-r--r-- 0/0            1540 2026-12-04 09:14 share/doc/nerdctl/docs/images/nerdctl-white.svg
-rw-r--r-- 0/0            1462 2026-12-04 09:14 share/doc/nerdctl/docs/images/nerdctl.svg
-rw-r--r-- 0/0          684421 2026-12-04 09:14 share/doc/nerdctl/docs/images/rootlessKit-network-design.png
-rw-r--r-- 0/0           14462 2026-12-04 09:14 share/doc/nerdctl/docs/ipfs.md
-rw-r--r-- 0/0            2426 2026-12-04 09:14 share/doc/nerdctl/docs/multi-platform.md
-rw-r--r-- 0/0            2960 2026-12-04 09:14 share/doc/nerdctl/docs/notation.md
-rw-r--r-- 0/0            2806 2026-12-04 09:14 share/doc/nerdctl/docs/nydus.md
-rw-r--r-- 0/0            3277 2026-12-04 09:14 share/doc/nerdctl/docs/ocicrypt.md
-rw-r--r-- 0/0            2215 2026-12-04 09:14 share/doc/nerdctl/docs/overlaybd.md
-rw-r--r-- 0/0           15616 2026-12-04 09:14 share/doc/nerdctl/docs/registry.md
-rw-r--r-- 0/0           10065 2026-12-04 09:14 share/doc/nerdctl/docs/rootless.md
-rw-r--r-- 0/0            4126 2026-12-04 09:14 share/doc/nerdctl/docs/soci.md
-rw-r--r-- 0/0           11912 2026-12-04 09:14 share/doc/nerdctl/docs/stargz.md
drwxr-xr-x 0/0               0 2026-12-04 09:14 share/doc/nerdctl/docs/testing/
-rw-r--r-- 0/0            6352 2026-12-04 09:14 share/doc/nerdctl/docs/testing/README.md
-rw-r--r-- 0/0            6527 2026-12-04 09:14 share/doc/nerdctl/docs/testing/flaky.md
-rw-r--r-- 0/0           16694 2026-12-04 09:14 share/doc/nerdctl/docs/testing/tools.md
drwxr-xr-x 0/0               0 2026-12-04 09:24 share/doc/nerdctl-full/
-rw-r--r-- 0/0             905 2026-12-04 09:23 share/doc/nerdctl-full/README.md
-rw-r--r-- 0/0            9539 2026-12-04 09:24 share/doc/nerdctl-full/SHA256SUMS

Included components

See share/doc/nerdctl-full/README.md:

# nerdctl (full distribution)
- nerdctl: v2.4.3
- containerd: v2.4.3
- runc: v1.6.0
- CNI plugins: v1.10.0
- BuildKit: v0.35.1
- Stargz Snapshotter: v0.19.1
- imgcrypt: v2.0.3
- bypass4netns: v0.4.2
- fuse-overlayfs: v1.18
- containerd-fuse-overlayfs: v2.1.7
- Tini: v0.19.0
- buildg: v0.5.3
- RootlessKit: v3.4.0
- gomodjail: v2.0.1@5924a4079d0f70459a10973f715238dc336478ea

## License
- bin/fuse-overlayfs: [GNU GENERAL PUBLIC LICENSE, Version 2](https://github.com/containers/fuse-overlayfs/blob/v1.18/COPYING)
- bin/{runc,bypass4netns,bypass4netnsd}: Apache License 2.0, statically linked with libseccomp ([LGPL 2.1](https://github.com/seccomp/libseccomp/blob/main/LICENSE), source code available at https://github.com/seccomp/libseccomp/)
- bin/tini: [MIT License](https://github.com/krallin/tini/blob/v0.19.0/LICENSE)
- Other files: [Apache License 2.0](https://www.apache.org/licenses/LICENSE-2.0)

Quick start

Rootful

$ sudo systemctl enable --now containerd
$ sudo nerdctl run -d --name nginx -p 80:80 nginx:alpine

Rootless

$ containerd-rootless-setuptool.sh install
$ nerdctl run -d --name nginx -p 8080:80 nginx:alpine

Enabling cgroup v2 is highly recommended for rootless mode, see https://rootlesscontaine.rs/getting-started/common/cgroup2/ .


The binaries were built automatically on GitHub Actions.
The build log is available for 90 days: https://github.com/containerd/nerdctl/actions/runs/47304676157

The sha256sum of the SHA256SUMS file itself is 86eb66746f774943d22ee4ca18a89db84378a84640b5675ca407160121d47446 .


Release manager: @AkihiroSuda

Don't miss a new nerdctl release

NewReleases is sending notifications on new releases.