v0.11.1
Changes
- Compose: support env vars in YAML (#305, thanks to @fahedouch)
- New command flags:
- Add
nerdctl load --all-platforms
(#316, thanks to @cpuguy83) - Add
nerdctl run --pidfile=FILE
(#311, thanks to @developer-guy) - Add
nerdctl (ps|images|volume ls|network ls|version) --format="{{json .}}"
(#319)
- Add
- Fix image size calculation (#310, thanks to @fahedouch)
- Support Debian's CNI path (
/usr/lib/cni
) (#315, thanks to @vbatts) - Add test for
--insecure-registry
(#301, thanks to @ktock) - Update Go (v1.17) (#318)
- nerdctl-full: update containerd (v1.5.5), RootlessKit (v0.14.5), slirp4netns (v1.1.12), fuse-overlayfs (v1.7.1), CNI plugins (v1.0.0) (#318, #313, #306)
Other changes: https://github.com/containerd/nerdctl/milestone/4?closed=1
About the binaries
- Minimal (
nerdctl-0.11.1-linux-amd64.tar.gz
): nerdctl only - Full (
nerdctl-full-0.11.1-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-0.11.1-linux-amd64.tar.gz
-rwxr-xr-x root/root 21446656 2021-08-20 09:42 nerdctl
-rwxr-xr-x root/root 14866 2021-08-20 09:41 containerd-rootless-setuptool.sh
-rwxr-xr-x root/root 6972 2021-08-20 09:41 containerd-rootless.sh
Full
Extract the archive to a path like /usr/local
or ~/.local
.
tar Cxzvvf /usr/local nerdctl-full-0.11.1-linux-amd64.tar.gz
drwxr-xr-x 0/0 0 2021-08-20 09:49 bin/
-rwxr-xr-x 0/0 25846728 2015-10-21 00:00 bin/buildctl
-rwxr-xr-x 0/0 38724360 2015-10-21 00:00 bin/buildkitd
-rwxr-xr-x 0/0 49271232 2021-07-29 19:13 bin/containerd
-rwxr-xr-x 0/0 9990144 2021-06-24 08:25 bin/containerd-fuse-overlayfs-grpc
-rwxr-xr-x 0/0 14866 2021-08-20 09:47 bin/containerd-rootless-setuptool.sh
-rwxr-xr-x 0/0 6972 2021-08-20 09:47 bin/containerd-rootless.sh
-rwxr-xr-x 0/0 8798208 2021-07-29 19:13 bin/containerd-shim-runc-v2
-rwxr-xr-x 0/0 38961152 2021-07-16 09:23 bin/containerd-stargz-grpc
-rwxr-xr-x 0/0 22696992 2021-07-29 19:13 bin/containerd-stress
-rwxr-xr-x 0/0 18844119 2021-08-20 09:49 bin/ctd-decoder
-rwxr-xr-x 0/0 27444320 2021-07-29 19:13 bin/ctr
-rwxr-xr-x 0/0 27549844 2021-08-20 09:49 bin/ctr-enc
-rwxr-xr-x 0/0 24924720 2021-07-16 09:23 bin/ctr-remote
-rwxr-xr-x 0/0 2461920 2021-08-20 09:49 bin/fuse-overlayfs
-rwxr-xr-x 0/0 21422080 2021-08-20 09:47 bin/nerdctl
-rwxr-xr-x 0/0 9157229 2021-08-18 07:52 bin/rootlessctl
-rwxr-xr-x 0/0 10579358 2021-08-18 07:52 bin/rootlesskit
-rwxr-xr-x 0/0 10990704 2021-08-20 09:47 bin/runc
-rwxr-xr-x 0/0 3669824 2021-08-20 09:49 bin/slirp4netns
-rwxr-xr-x 0/0 37093376 2021-07-16 09:23 bin/stargz-store
drwxr-xr-x 0/0 0 2021-08-20 09:47 lib/
drwxr-xr-x 0/0 0 2021-08-20 09:47 lib/systemd/
drwxr-xr-x 0/0 0 2021-08-20 09:48 lib/systemd/system/
-rw-r--r-- 0/0 1331 2021-08-20 09:48 lib/systemd/system/buildkit.service
-rw-r--r-- 0/0 1270 2021-08-20 09:47 lib/systemd/system/containerd.service
-rw-r--r-- 0/0 312 2021-08-20 09:48 lib/systemd/system/stargz-snapshotter.service
drwxr-xr-x 0/0 0 2021-08-20 09:48 libexec/
drwxrwxr-x 0/0 0 2021-08-20 09:48 libexec/cni/
-rwxr-xr-x 0/0 3990548 2021-08-11 15:46 libexec/cni/bandwidth
-rwxr-xr-x 0/0 4409304 2021-08-11 15:46 libexec/cni/bridge
-rwxr-xr-x 0/0 9784253 2021-08-11 15:46 libexec/cni/dhcp
-rwxr-xr-x 0/0 4553108 2021-08-11 15:46 libexec/cni/firewall
-rwxr-xr-x 0/0 4009601 2021-08-11 15:46 libexec/cni/host-device
-rwxr-xr-x 0/0 3402808 2021-08-11 15:46 libexec/cni/host-local
-rwxr-xr-x 0/0 4144654 2021-08-11 15:46 libexec/cni/ipvlan
-rwxr-xr-x 0/0 2387968 2021-01-19 09:17 libexec/cni/isolation
-rwxr-xr-x 0/0 3472123 2021-08-11 15:46 libexec/cni/loopback
-rwxr-xr-x 0/0 4216875 2021-08-11 15:46 libexec/cni/macvlan
-rwxr-xr-x 0/0 3924908 2021-08-11 15:46 libexec/cni/portmap
-rwxr-xr-x 0/0 4337802 2021-08-11 15:46 libexec/cni/ptp
-rwxr-xr-x 0/0 3682119 2021-08-11 15:46 libexec/cni/sbr
-rwxr-xr-x 0/0 2967017 2021-08-11 15:46 libexec/cni/static
-rwxr-xr-x 0/0 3622648 2021-08-11 15:46 libexec/cni/tuning
-rwxr-xr-x 0/0 4140657 2021-08-11 15:46 libexec/cni/vlan
-rwxr-xr-x 0/0 3714448 2021-08-11 15:46 libexec/cni/vrf
drwxr-xr-x 0/0 0 2021-08-20 09:47 share/
drwxr-xr-x 0/0 0 2021-08-20 09:47 share/doc/
drwxr-xr-x 0/0 0 2021-08-20 09:47 share/doc/nerdctl/
-rw-r--r-- 0/0 38438 2021-08-20 09:41 share/doc/nerdctl/README.md
drwxr-xr-x 0/0 0 2021-08-20 09:47 share/doc/nerdctl/docs/
-rw-r--r-- 0/0 1848 2021-08-20 09:41 share/doc/nerdctl/docs/compose.md
-rw-r--r-- 0/0 1982 2021-08-20 09:41 share/doc/nerdctl/docs/dir.md
-rw-r--r-- 0/0 2326 2021-08-20 09:41 share/doc/nerdctl/docs/gpu.md
-rw-r--r-- 0/0 1390 2021-08-20 09:41 share/doc/nerdctl/docs/ocicrypt.md
-rw-r--r-- 0/0 689 2021-08-20 09:41 share/doc/nerdctl/docs/registry.md
-rw-r--r-- 0/0 3710 2021-08-20 09:41 share/doc/nerdctl/docs/rootless.md
-rw-r--r-- 0/0 4835 2021-08-20 09:41 share/doc/nerdctl/docs/stargz.md
drwxr-xr-x 0/0 0 2021-08-20 09:49 share/doc/nerdctl-full/
-rw-r--r-- 0/0 807 2021-08-20 09:49 share/doc/nerdctl-full/README.md
-rw-r--r-- 0/0 4450 2021-08-20 09:49 share/doc/nerdctl-full/SHA256SUMS
Included components
See share/doc/nerdctl-full/README.md
:
# nerdctl (full distribution)
- nerdctl: v0.11.1
- containerd: v1.5.5
- runc: v1.0.1
- CNI plugins: v1.0.0
- CNI isolation plugin: v0.0.3
- BuildKit: v0.9.0
- Stargz Snapshotter: v0.7.0
- imgcrypt: v1.1.1
- RootlessKit: v0.14.5
- slirp4netns: v1.1.12
- fuse-overlayfs: v1.7.1
- containerd-fuse-overlayfs: v1.0.3
## License
- bin/slirp4netns: [GNU GENERAL PUBLIC LICENSE, Version 2](https://github.com/rootless-containers/slirp4netns/blob/v1.1.12/COPYING)
- bin/fuse-overlayfs: [GNU GENERAL PUBLIC LICENSE, Version 3](https://github.com/containers/fuse-overlayfs/blob/v1.7.1/COPYING)
- bin/runc (Apache License 2.0) is statically linked with libseccomp ([LGPL 2.1](https://github.com/seccomp/libseccomp/blob/main/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/1150216791
The sha256sum of the SHA256SUMS file itself is 3b4cb1c41d2229a20886df3c13f402e75a85e2ca2df6e062795047d13a713f27
.