v0.22.0
版本发布时间: 2022-07-17 11:24:59
containerd/nerdctl最新发布版本:v2.0.0-rc.0(2024-06-26 11:12:57)
This release adds nerdctl (container|image|volume) prune
commands. No support for nerdctl (network|system) prune
yet.
This release also introduces the support for Nydus Snapshotter and Containerfile
.
Changes
-
nerdctl container prune
- Add
nerdctl container prune
command (#1180, thanks to @junnplus ; also thanks to @Shikachuu (#806) and @click2cloud-lamda (#997))
- Add
-
nerdctl image prune
- Add
nerdctl image prune
command (#1194, thanks to @junnplus ; also thanks to @Shikachuu (#806))
- Add
-
nerdctl volume prune
:- Add
nerdctl volume prune
command (#1208, thanks to @junnplus ; also thanks to @click2cloud-lamda (#997))
- Add
-
nerdctl run
:- Support Nydus Snapshotter (#1163, thanks to @loheagn)
- Add
--group-add
flag (#1131, thanks to @junnplus) - Add
--dns-search
and--dns-opt
flags (#1169, thanks to @junnplus) - Add
--stop-signal
and--stop-timeout
flags (#1171, thanks to @junnplus) - Add
--kernel-memory
flag (NOP) (#1197, thanks to @ningmingxiao)
-
nerdctl update
:- Add
--blkio-weight
flag (#1205, thanks to @ningmingxiao)
- Add
-
nerdctl build
:- Fallback to
Containerfile
whenDockerfile
is not present (#1219, thanks to @manugupt1) - Allow specifying multiple tags (#1173, thanks to @manugupt1)
- Fallback to
-
nerdctl images
:- Add
--names
flag (#1164, thanks to @junnplus)
- Add
-
nerdctl ps
:- Add
--size
flag (#1177, thanks to @liubin)
- Add
-
nerdctl version
:- Display buildctl and runc version (#1209, #1229, thanks to @manugupt1)
-
docs:
- Add
docs/nydus.md
(#1198, thanks to @imeoer) - Add
docs/overlaybd.md
(#1212, thanks to @BigVan)
- Add
-
nerdctl-full:
- Update imgcrypt (1.1.6), stargz-snapshotter (0.12.0), IPFS (0.13.1), buildg (0.3.0) (#1227)
-
MAINTAINERS:
- Add Zheao Li @Zheaoli as a REVIEWER
Full changes: https://github.com/containerd/nerdctl/milestone/19?closed=1 Thanks to @BigVan @TianZong48 @Shikachuu @Zheaoli @click2cloud-lamda @fahedouch @ilmanzo @imeoer @junnplus @liubin @loheagn @manugupt1 @ningmingxiao @sondavidb
About the binaries
- Minimal (
nerdctl-0.22.0-linux-amd64.tar.gz
): nerdctl only - Full (
nerdctl-full-0.22.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-0.22.0-linux-amd64.tar.gz
-rwxr-xr-x root/root 27832320 2022-07-17 02:42 nerdctl
-rwxr-xr-x root/root 21562 2022-07-17 02:40 containerd-rootless-setuptool.sh
-rwxr-xr-x root/root 7032 2022-07-17 02:40 containerd-rootless.sh
Full
Extract the archive to a path like /usr/local
or ~/.local
.
tar Cxzvvf /usr/local nerdctl-full-0.22.0-linux-amd64.tar.gz
drwxr-xr-x 0/0 0 2022-07-17 02:57 bin/
-rwxr-xr-x 0/0 25376283 2015-10-21 00:00 bin/buildctl
-rwxr-xr-x 0/0 23629824 2022-07-01 07:19 bin/buildg
-rwxr-xr-x 0/0 349 2022-07-01 07:19 bin/buildg.sh
-rwxr-xr-x 0/0 39666041 2015-10-21 00:00 bin/buildkitd
-rwxr-xr-x 0/0 3339352 2022-07-17 02:51 bin/bypass4netns
-rwxr-xr-x 0/0 4984832 2022-07-17 02:52 bin/bypass4netnsd
-rwxr-xr-x 0/0 54205432 2022-07-17 02:54 bin/containerd
-rwxr-xr-x 0/0 9752576 2021-11-19 07:44 bin/containerd-fuse-overlayfs-grpc
-rwxr-xr-x 0/0 21562 2022-07-17 02:53 bin/containerd-rootless-setuptool.sh
-rwxr-xr-x 0/0 7032 2022-07-17 02:53 bin/containerd-rootless.sh
-rwxr-xr-x 0/0 9650176 2022-07-17 02:54 bin/containerd-shim-runc-v2
-rwxr-xr-x 0/0 59631824 2022-07-11 12:47 bin/containerd-stargz-grpc
-rwxr-xr-x 0/0 19699024 2022-07-17 02:57 bin/ctd-decoder
-rwxr-xr-x 0/0 27519928 2022-07-17 02:53 bin/ctr
-rwxr-xr-x 0/0 28352054 2022-07-17 02:57 bin/ctr-enc
-rwxr-xr-x 0/0 30124112 2022-07-11 12:47 bin/ctr-remote
-rwxr-xr-x 0/0 1778112 2022-07-17 02:57 bin/fuse-overlayfs
-rwxr-xr-x 0/0 77796944 2022-07-06 15:25 bin/ipfs
-rwxr-xr-x 0/0 27803648 2022-07-17 02:53 bin/nerdctl
-rwxr-xr-x 0/0 9443526 2022-05-02 08:24 bin/rootlessctl
-rwxr-xr-x 0/0 10879193 2022-05-02 08:24 bin/rootlesskit
-rwxr-xr-x 0/0 13367256 2022-07-17 02:53 bin/runc
-rwxr-xr-x 0/0 2338128 2022-07-17 02:57 bin/slirp4netns
-rwxr-xr-x 0/0 870496 2022-07-17 02:57 bin/tini
drwxr-xr-x 0/0 0 2022-07-17 02:56 lib/
drwxr-xr-x 0/0 0 2022-07-17 02:56 lib/systemd/
drwxr-xr-x 0/0 0 2022-07-17 02:57 lib/systemd/system/
-rw-r--r-- 0/0 1331 2022-07-17 02:57 lib/systemd/system/buildkit.service
-rw-r--r-- 0/0 1270 2022-07-17 02:51 lib/systemd/system/containerd.service
-rw-r--r-- 0/0 312 2022-07-17 02:57 lib/systemd/system/stargz-snapshotter.service
drwxr-xr-x 0/0 0 2022-07-17 02:56 libexec/
drwxrwxr-x 0/0 0 2022-07-17 02:56 libexec/cni/
-rwxr-xr-x 0/0 3780654 2022-03-09 17:08 libexec/cni/bandwidth
-rwxr-xr-x 0/0 4221977 2022-03-09 17:08 libexec/cni/bridge
-rwxr-xr-x 0/0 9742834 2022-03-09 17:08 libexec/cni/dhcp
-rwxr-xr-x 0/0 4345726 2022-03-09 17:08 libexec/cni/firewall
-rwxr-xr-x 0/0 3811793 2022-03-09 17:08 libexec/cni/host-device
-rwxr-xr-x 0/0 3241605 2022-03-09 17:08 libexec/cni/host-local
-rwxr-xr-x 0/0 3922560 2022-03-09 17:08 libexec/cni/ipvlan
-rwxr-xr-x 0/0 3295519 2022-03-09 17:08 libexec/cni/loopback
-rwxr-xr-x 0/0 3959868 2022-03-09 17:08 libexec/cni/macvlan
-rwxr-xr-x 0/0 3679140 2022-03-09 17:08 libexec/cni/portmap
-rwxr-xr-x 0/0 4092460 2022-03-09 17:08 libexec/cni/ptp
-rwxr-xr-x 0/0 3484284 2022-03-09 17:08 libexec/cni/sbr
-rwxr-xr-x 0/0 2818627 2022-03-09 17:08 libexec/cni/static
-rwxr-xr-x 0/0 3379564 2022-03-09 17:08 libexec/cni/tuning
-rwxr-xr-x 0/0 3920827 2022-03-09 17:08 libexec/cni/vlan
-rwxr-xr-x 0/0 3523475 2022-03-09 17:08 libexec/cni/vrf
drwxr-xr-x 0/0 0 2022-07-17 02:53 share/
drwxr-xr-x 0/0 0 2022-07-17 02:53 share/doc/
drwxr-xr-x 0/0 0 2022-07-17 02:53 share/doc/nerdctl/
-rw-r--r-- 0/0 64913 2022-07-17 02:40 share/doc/nerdctl/README.md
drwxr-xr-x 0/0 0 2022-07-17 02:53 share/doc/nerdctl/docs/
-rw-r--r-- 0/0 3953 2022-07-17 02:40 share/doc/nerdctl/docs/build.md
-rw-r--r-- 0/0 2570 2022-07-17 02:40 share/doc/nerdctl/docs/builder-debug.md
-rw-r--r-- 0/0 3996 2022-07-17 02:40 share/doc/nerdctl/docs/cni.md
-rw-r--r-- 0/0 1846 2022-07-17 02:40 share/doc/nerdctl/docs/compose.md
-rw-r--r-- 0/0 3062 2022-07-17 02:40 share/doc/nerdctl/docs/config.md
-rw-r--r-- 0/0 3192 2022-07-17 02:40 share/doc/nerdctl/docs/cosign.md
-rw-r--r-- 0/0 2435 2022-07-17 02:40 share/doc/nerdctl/docs/dir.md
-rw-r--r-- 0/0 598 2022-07-17 02:40 share/doc/nerdctl/docs/experimental.md
-rw-r--r-- 0/0 13802 2022-07-17 02:40 share/doc/nerdctl/docs/faq.md
-rw-r--r-- 0/0 1197 2022-07-17 02:40 share/doc/nerdctl/docs/freebsd.md
-rw-r--r-- 0/0 2439 2022-07-17 02:40 share/doc/nerdctl/docs/gpu.md
-rw-r--r-- 0/0 13215 2022-07-17 02:40 share/doc/nerdctl/docs/ipfs.md
-rw-r--r-- 0/0 1748 2022-07-17 02:40 share/doc/nerdctl/docs/multi-platform.md
-rw-r--r-- 0/0 1509 2022-07-17 02:40 share/doc/nerdctl/docs/nydus.md
-rw-r--r-- 0/0 3277 2022-07-17 02:40 share/doc/nerdctl/docs/ocicrypt.md
-rw-r--r-- 0/0 1308 2022-07-17 02:40 share/doc/nerdctl/docs/overlaybd.md
-rw-r--r-- 0/0 15626 2022-07-17 02:40 share/doc/nerdctl/docs/registry.md
-rw-r--r-- 0/0 5368 2022-07-17 02:40 share/doc/nerdctl/docs/rootless.md
-rw-r--r-- 0/0 4918 2022-07-17 02:40 share/doc/nerdctl/docs/stargz.md
drwxr-xr-x 0/0 0 2022-07-17 02:57 share/doc/nerdctl-full/
-rw-r--r-- 0/0 1146 2022-07-17 02:57 share/doc/nerdctl-full/README.md
-rw-r--r-- 0/0 5898 2022-07-17 02:57 share/doc/nerdctl-full/SHA256SUMS
Included components
See share/doc/nerdctl-full/README.md
:
# nerdctl (full distribution)
- nerdctl: v0.22.0
- containerd: v1.6.6
- runc: v1.1.3
- CNI plugins: v1.1.1
- BuildKit: v0.10.3
- Stargz Snapshotter: v0.12.0
- imgcrypt: v1.1.6
- RootlessKit: v1.0.1
- slirp4netns: v1.2.0
- bypass4netns: v0.2.2
- fuse-overlayfs: v1.9
- containerd-fuse-overlayfs: v1.0.4
- IPFS: v0.13.1
- Tini: v0.19.0
- buildg: v0.3.0
## License
- bin/slirp4netns: [GNU GENERAL PUBLIC LICENSE, Version 2](https://github.com/rootless-containers/slirp4netns/blob/v1.2.0/COPYING)
- bin/fuse-overlayfs: [GNU GENERAL PUBLIC LICENSE, Version 3](https://github.com/containers/fuse-overlayfs/blob/v1.9/COPYING)
- bin/ipfs: [Combination of MIT-only license and dual MIT/Apache-2.0 license](https://github.com/ipfs/go-ipfs/blob/v0.13.1/LICENSE)
- 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/2683994231
The sha256sum of the SHA256SUMS file itself is 3500a982b4904b214f0c029206e01a5875bf292b830db3d12cd237a011b735e7
.
1、 nerdctl-0.22.0-freebsd-amd64.tar.gz 9.65MB
2、 nerdctl-0.22.0-go-mod-vendor.tar.gz 7.91MB
3、 nerdctl-0.22.0-linux-amd64.tar.gz 10.21MB
4、 nerdctl-0.22.0-linux-arm-v7.tar.gz 9.72MB
5、 nerdctl-0.22.0-linux-arm64.tar.gz 9.38MB
6、 nerdctl-0.22.0-linux-ppc64le.tar.gz 9.12MB
7、 nerdctl-0.22.0-linux-riscv64.tar.gz 9.97MB
8、 nerdctl-0.22.0-linux-s390x.tar.gz 10MB
9、 nerdctl-0.22.0-windows-amd64.tar.gz 9.69MB
10、 nerdctl-full-0.22.0-linux-amd64.tar.gz 218.87MB
11、 nerdctl-full-0.22.0-linux-arm64.tar.gz 185.69MB
12、 SHA256SUMS 1.09KB
13、 SHA256SUMS.asc 659B