github containerd/nerdctl v2.4.0-beta.0

pre-release4 hours ago

Changes

This is the first beta release of nerdctl v2.4.0.

This release of nerdctl-full uses a beta release of containerd (v2.4.0-beta.0).

Major changes:

  • nerdctl image:

    • Adopted Docker v29 default nerdctl images output (IMAGE, ID, DISK USAGE, CONTENT SIZE, EXTRA) (#5093, thanks to @ekalinin)
    • Added nerdctl push --all-tags (-a) to push every local tag of a repository (#5133, thanks to @ekalinin)
    • Added nerdctl image convert --erofs {raw|zstd} and aligned EROFS pull/push with containerd (#4927)
    • Added nerdctl save --quiet (-q) to suppress progress output (#5064, thanks to @s3onghyun)
    • Fixed nerdctl image ls <repo> to list all tags of a bare repository name (#5115, thanks to @ankit090701)
    • Added snapshot info to native nerdctl image inspect (#5114, thanks to @ningmingxiao)
  • nerdctl container:

    • Added --mount type=image (read-only) (#4990, thanks to @mayur-tolexo)
    • Added --expose and --publish-all (-P) (#5036, thanks to @Mujib-Ahasan)
    • Added support for the Docker v25 recursive read-only (RRO) mount form (#5043, thanks to @AkihiroSuda)
    • Allocated a free host port from a published port range for a single container port (#4988, thanks to @s3onghyun)
    • Fixed --cpus writing cpuset instead of CFS quota/period (#5067, thanks to @kmaris)
    • Fixed nerdctl run/exec -i hanging when stdin reaches EOF during task creation (#5042, thanks to @AkihiroSuda)
    • Added snapshot info to native nerdctl container inspect (#5118, thanks to @ningmingxiao)
    • Suppressed a spurious hostsstore NotFound warning on container removal (#5098, thanks to @pujitha24)
  • nerdctl network:

    • Added --aux-address support for nerdctl network create (#5041, thanks to @mayur-tolexo)
    • Added --ipv4 so --ipv4=false --ipv6 can create IPv6-only networks (#5024, thanks to @mayur-tolexo)
    • Matched each --ip-range to its subnet for dual-stack networks (#5018, thanks to @mayur-tolexo)
    • Supported big-endian hosts when parsing /proc/net/{tcp,udp} addresses (#5100, thanks to @larrasket)
  • nerdctl events:

  • nerdctl compose:

    • Stopped requiring CNI plugins for compose projects that do not use CNI (#5132, thanks to @ravi-arnan)
    • Fixed a panic when asserting x-nerdctl-* compose extension types (#5073, thanks to @arpitjain099)
  • Rootless:

  • nerdctl-full:

    • Updated containerd to v2.4.0-beta.0 and RootlessKit to v3.1.0 (#5144, #5152, thanks to @haytok)
  • Documentation:

  • Misc:

  • CI and tests:

  • And more!

Full changes: https://github.com/containerd/nerdctl/milestone/66?closed=1

Thanks to @ChengyuZhu6, @AkihiroSuda, @ekalinin, @mayur-tolexo, @ningmingxiao, @haytok, @Mujib-Ahasan, @s3onghyun, @immanuwell, @Akshitguptaa, @ankit090701, @ravi-arnan, @arpitjain099, @kmaris, @larrasket, @pujitha24, @VedantMadane, @MsfPablo, @papidb, @ogulcanaydogan, @must108, @takumi12311123, @subotac, and @nikolauspschuetz.

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.0-beta.0-linux-amd64.tar.gz): nerdctl only
  • Full (nerdctl-full-2.4.0-beta.0-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.0-beta.0-linux-amd64.tar.gz

-rwxr-xr-x root/root  32686242 2026-08-23 06:01 nerdctl
-rwxr-xr-x root/root     23381 2026-08-23 06:00 containerd-rootless-setuptool.sh
-rwxr-xr-x root/root      9555 2026-08-23 06:00 containerd-rootless.sh

Full

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

tar Cxzvvf /usr/local nerdctl-full-2.4.0-beta.0-linux-amd64.tar.gz

drwxr-xr-x 0/0               0 2026-08-23 06:11 bin/
-rwxr-xr-x 0/0        34352159 2026-07-16 13:59 bin/buildctl
-rwxr-xr-x 0/0        29909144 2025-05-12 13:10 bin/buildg
lrwxrwxrwx 0/0               0 2026-08-23 06:09 bin/buildkit-cni-bandwidth -> ../libexec/cni/bandwidth
lrwxrwxrwx 0/0               0 2026-08-23 06:09 bin/buildkit-cni-bridge -> ../libexec/cni/bridge
lrwxrwxrwx 0/0               0 2026-08-23 06:09 bin/buildkit-cni-dhcp -> ../libexec/cni/dhcp
lrwxrwxrwx 0/0               0 2026-08-23 06:09 bin/buildkit-cni-dummy -> ../libexec/cni/dummy
lrwxrwxrwx 0/0               0 2026-08-23 06:09 bin/buildkit-cni-firewall -> ../libexec/cni/firewall
lrwxrwxrwx 0/0               0 2026-08-23 06:09 bin/buildkit-cni-host-device -> ../libexec/cni/host-device
lrwxrwxrwx 0/0               0 2026-08-23 06:09 bin/buildkit-cni-host-local -> ../libexec/cni/host-local
lrwxrwxrwx 0/0               0 2026-08-23 06:09 bin/buildkit-cni-ipvlan -> ../libexec/cni/ipvlan
lrwxrwxrwx 0/0               0 2026-08-23 06:09 bin/buildkit-cni-loopback -> ../libexec/cni/loopback
lrwxrwxrwx 0/0               0 2026-08-23 06:09 bin/buildkit-cni-macvlan -> ../libexec/cni/macvlan
lrwxrwxrwx 0/0               0 2026-08-23 06:09 bin/buildkit-cni-portmap -> ../libexec/cni/portmap
lrwxrwxrwx 0/0               0 2026-08-23 06:09 bin/buildkit-cni-ptp -> ../libexec/cni/ptp
lrwxrwxrwx 0/0               0 2026-08-23 06:09 bin/buildkit-cni-sbr -> ../libexec/cni/sbr
lrwxrwxrwx 0/0               0 2026-08-23 06:09 bin/buildkit-cni-static -> ../libexec/cni/static
lrwxrwxrwx 0/0               0 2026-08-23 06:09 bin/buildkit-cni-tap -> ../libexec/cni/tap
lrwxrwxrwx 0/0               0 2026-08-23 06:09 bin/buildkit-cni-tuning -> ../libexec/cni/tuning
lrwxrwxrwx 0/0               0 2026-08-23 06:09 bin/buildkit-cni-vlan -> ../libexec/cni/vlan
lrwxrwxrwx 0/0               0 2026-08-23 06:09 bin/buildkit-cni-vrf -> ../libexec/cni/vrf
-rwxr-xr-x 0/0        79620820 2026-07-16 13:59 bin/buildkitd
-rwxr-xr-x 0/0        16853776 2026-08-23 06:09 bin/bypass4netns
-rwxr-xr-x 0/0         6607010 2026-08-23 06:09 bin/bypass4netnsd
-rwxr-xr-x 0/0        40396784 2026-08-23 06:09 bin/containerd
-rwxr-xr-x 0/0        12079288 2025-11-06 01:44 bin/containerd-fuse-overlayfs-grpc
-rwxr-xr-x 0/0           23381 2026-08-23 06:11 bin/containerd-rootless-setuptool.sh
-rwxr-xr-x 0/0            9555 2026-08-23 06:11 bin/containerd-rootless.sh
-rwxr-xr-x 0/0         7987362 2026-08-23 06:09 bin/containerd-shim-runc-v2
-rwxr-xr-x 0/0        55267512 2026-01-21 14:59 bin/containerd-stargz-grpc
-rwxr-xr-x 0/0        23592723 2026-08-23 06:10 bin/ctd-decoder
-rwxr-xr-x 0/0        22671522 2026-08-23 06:09 bin/ctr
-rwxr-xr-x 0/0        31243738 2026-08-23 06:10 bin/ctr-enc
-rwxr-xr-x 0/0        23417016 2026-01-21 14:59 bin/ctr-remote
-rwxr-xr-x 0/0         1695448 2026-08-23 06:10 bin/fuse-overlayfs
-rwxr-xr-x 0/0         7917730 2026-08-23 06:08 bin/gomodjail
-rwxr-xr-x 0/0        32649378 2026-08-23 06:11 bin/nerdctl
-rwxr-xr-x 0/0        40574966 2026-08-23 06:11 bin/nerdctl.gomodjail
-rwxr-xr-x 0/0        12048966 2026-08-04 09:31 bin/rootlessctl
-rwxr-xr-x 0/0        23498531 2026-08-04 09:31 bin/rootlesskit
-rwxr-xr-x 0/0        15249928 2026-08-23 06:08 bin/runc
-rwxr-xr-x 0/0        53829816 2026-01-21 14:59 bin/stargz-fuse-manager
-rwxr-xr-x 0/0        10821816 2026-01-21 14:59 bin/stargz-store-helper
-rwxr-xr-x 0/0          870496 2026-08-23 06:10 bin/tini
drwxr-xr-x 0/0               0 2026-08-23 06:09 lib/
drwxr-xr-x 0/0               0 2026-08-23 06:09 lib/systemd/
drwxr-xr-x 0/0               0 2026-08-23 06:09 lib/systemd/system/
-rw-r--r-- 0/0            1309 2026-08-23 06:09 lib/systemd/system/buildkit.service
-rw-r--r-- 0/0            1248 2026-08-23 06:07 lib/systemd/system/containerd.service
-rw-r--r-- 0/0             312 2026-08-23 06:09 lib/systemd/system/stargz-snapshotter.service
drwxr-xr-x 0/0               0 2026-08-23 06:09 libexec/
drwxr-xr-x 0/0               0 2026-03-16 14:18 libexec/cni/
-rw-r--r-- 0/0           11357 2026-03-16 14:18 libexec/cni/LICENSE
-rw-r--r-- 0/0            2343 2026-03-16 14:18 libexec/cni/README.md
-rwxr-xr-x 0/0         5042926 2026-03-16 14:18 libexec/cni/bandwidth
-rwxr-xr-x 0/0         5698763 2026-03-16 14:18 libexec/cni/bridge
-rwxr-xr-x 0/0        13725422 2026-03-16 14:18 libexec/cni/dhcp
-rwxr-xr-x 0/0         5251069 2026-03-16 14:18 libexec/cni/dummy
-rwxr-xr-x 0/0         5702145 2026-03-16 14:18 libexec/cni/firewall
-rwxr-xr-x 0/0         5159967 2026-03-16 14:18 libexec/cni/host-device
-rwxr-xr-x 0/0         4350778 2026-03-16 14:18 libexec/cni/host-local
-rwxr-xr-x 0/0         5274322 2026-03-16 14:18 libexec/cni/ipvlan
-rwxr-xr-x 0/0         4302030 2026-03-16 14:18 libexec/cni/loopback
-rwxr-xr-x 0/0         5307111 2026-03-16 14:18 libexec/cni/macvlan
-rwxr-xr-x 0/0         5108385 2026-03-16 14:18 libexec/cni/portmap
-rwxr-xr-x 0/0         5475470 2026-03-16 14:18 libexec/cni/ptp
-rwxr-xr-x 0/0         4525826 2026-03-16 14:18 libexec/cni/sbr
-rwxr-xr-x 0/0         3776708 2026-03-16 14:18 libexec/cni/static
-rwxr-xr-x 0/0         5453308 2026-03-16 14:18 libexec/cni/tap
-rwxr-xr-x 0/0         4389084 2026-03-16 14:18 libexec/cni/tuning
-rwxr-xr-x 0/0         5267679 2026-03-16 14:18 libexec/cni/vlan
-rwxr-xr-x 0/0         4685012 2026-03-16 14:18 libexec/cni/vrf
drwxr-xr-x 0/0               0 2026-08-23 06:07 share/
drwxr-xr-x 0/0               0 2026-08-23 06:11 share/doc/
drwxr-xr-x 0/0               0 2026-08-23 06:11 share/doc/nerdctl/
-rw-r--r-- 0/0           12380 2026-08-23 06:00 share/doc/nerdctl/README.md
drwxr-xr-x 0/0               0 2026-08-23 06:00 share/doc/nerdctl/docs/
-rw-r--r-- 0/0            3953 2026-08-23 06:00 share/doc/nerdctl/docs/build.md
-rw-r--r-- 0/0            2570 2026-08-23 06:00 share/doc/nerdctl/docs/builder-debug.md
-rw-r--r-- 0/0            4779 2026-08-23 06:00 share/doc/nerdctl/docs/cni.md
-rw-r--r-- 0/0           94663 2026-08-23 06:00 share/doc/nerdctl/docs/command-reference.md
-rw-r--r-- 0/0            1829 2026-08-23 06:00 share/doc/nerdctl/docs/compose.md
-rw-r--r-- 0/0            7592 2026-08-23 06:00 share/doc/nerdctl/docs/config.md
-rw-r--r-- 0/0            9128 2026-08-23 06:00 share/doc/nerdctl/docs/cosign.md
-rw-r--r-- 0/0            5660 2026-08-23 06:00 share/doc/nerdctl/docs/cvmfs.md
drwxr-xr-x 0/0               0 2026-08-23 06:00 share/doc/nerdctl/docs/dev/
-rw-r--r-- 0/0           12701 2026-08-23 06:00 share/doc/nerdctl/docs/dev/auditing_dockerfile.md
-rw-r--r-- 0/0            8587 2026-08-23 06:00 share/doc/nerdctl/docs/dev/store.md
-rw-r--r-- 0/0            3148 2026-08-23 06:00 share/doc/nerdctl/docs/dir.md
-rw-r--r-- 0/0            1826 2026-08-23 06:00 share/doc/nerdctl/docs/erofs.md
-rw-r--r-- 0/0             906 2026-08-23 06:00 share/doc/nerdctl/docs/experimental.md
-rw-r--r-- 0/0           14757 2026-08-23 06:00 share/doc/nerdctl/docs/faq.md
-rw-r--r-- 0/0             884 2026-08-23 06:00 share/doc/nerdctl/docs/freebsd.md
-rw-r--r-- 0/0            5585 2026-08-23 06:00 share/doc/nerdctl/docs/gpu.md
-rw-r--r-- 0/0            3419 2026-08-23 06:00 share/doc/nerdctl/docs/healthchecks.md
drwxr-xr-x 0/0               0 2026-08-23 06:00 share/doc/nerdctl/docs/images/
-rw-r--r-- 0/0            1540 2026-08-23 06:00 share/doc/nerdctl/docs/images/nerdctl-white.svg
-rw-r--r-- 0/0            1462 2026-08-23 06:00 share/doc/nerdctl/docs/images/nerdctl.svg
-rw-r--r-- 0/0          684421 2026-08-23 06:00 share/doc/nerdctl/docs/images/rootlessKit-network-design.png
-rw-r--r-- 0/0           14462 2026-08-23 06:00 share/doc/nerdctl/docs/ipfs.md
-rw-r--r-- 0/0            2426 2026-08-23 06:00 share/doc/nerdctl/docs/multi-platform.md
-rw-r--r-- 0/0            2960 2026-08-23 06:00 share/doc/nerdctl/docs/notation.md
-rw-r--r-- 0/0            2806 2026-08-23 06:00 share/doc/nerdctl/docs/nydus.md
-rw-r--r-- 0/0            3277 2026-08-23 06:00 share/doc/nerdctl/docs/ocicrypt.md
-rw-r--r-- 0/0            2215 2026-08-23 06:00 share/doc/nerdctl/docs/overlaybd.md
-rw-r--r-- 0/0           15657 2026-08-23 06:00 share/doc/nerdctl/docs/registry.md
-rw-r--r-- 0/0           10065 2026-08-23 06:00 share/doc/nerdctl/docs/rootless.md
-rw-r--r-- 0/0            4126 2026-08-23 06:00 share/doc/nerdctl/docs/soci.md
-rw-r--r-- 0/0           11912 2026-08-23 06:00 share/doc/nerdctl/docs/stargz.md
drwxr-xr-x 0/0               0 2026-08-23 06:00 share/doc/nerdctl/docs/testing/
-rw-r--r-- 0/0            5727 2026-08-23 06:00 share/doc/nerdctl/docs/testing/README.md
-rw-r--r-- 0/0           16694 2026-08-23 06:00 share/doc/nerdctl/docs/testing/tools.md
drwxr-xr-x 0/0               0 2026-08-23 06:11 share/doc/nerdctl-full/
-rw-r--r-- 0/0             918 2026-08-23 06:10 share/doc/nerdctl-full/README.md
-rw-r--r-- 0/0            9431 2026-08-23 06:11 share/doc/nerdctl-full/SHA256SUMS

Included components

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

# nerdctl (full distribution)
- nerdctl: v2.4.0-beta.0
- containerd: v2.4.0-beta.0
- runc: v1.5.1
- CNI plugins: v1.9.1
- BuildKit: v0.31.2
- Stargz Snapshotter: v0.18.2
- imgcrypt: v2.0.2
- bypass4netns: v0.4.2
- fuse-overlayfs: v1.17
- containerd-fuse-overlayfs: v2.1.7
- Tini: v0.19.0
- buildg: v0.5.3
- RootlessKit: v3.1.0
- gomodjail: v0.3.2@c145bb1e36fe0939c5fa0467f2477878dea8e3d9

## License
- bin/fuse-overlayfs: [GNU GENERAL PUBLIC LICENSE, Version 2](https://github.com/containers/fuse-overlayfs/blob/v1.17/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/32621770689

The sha256sum of the SHA256SUMS file itself is 264a0f2968bf11034adcad8df85efd078777f1377d36fc4c239d38aefead5bcd .


Release manager: Chengyu Zhu (@ChengyuZhu6)

Don't miss a new nerdctl release

NewReleases is sending notifications on new releases.