containerd 1.7.1
Welcome to the v1.7.1 release of containerd!
The first patch release for containerd 1.7 includes many fixes to CRI
sandbox mode, various other fixes, runc update, and important fixes in
core dependencies such as ttrpc and typeurl.
CRI/Sandbox Updates
- Throw not supported error when UID or GID mappings provided (#8211)
- Cleanup shim on start failure (#8282)
- Fix premature close of CRI service when there are no CNI configuration monitors (#8282)
- Avoid UID lookup from mount on Darwin (#8314)
- Keep Linux mounts for Linux sandboxes on non-Linux hosts (#8331)
- Add
noexec
,nodev
,nosuid
to/etc/resolv.conf
bind mount (#8336) - Remove entry for container from container store on error (#8457)
- Fix unmarshal in container metrics (#8472)
Other Notable Updates
- Use readonly for temporary mounts (#8300 #8358)
- Fix skip docker manifest option on image exporter (#8344)
- Update runc binary to v1.1.7 (#8451)
- Fix runtime path task option (#8453)
- Fix panic from nil checkpoint options (#8475)
- Fix transfer service configuration options (#8491)
- Fix server-side goroutine leak on receive message error (ttrpc#141)
- Fix panic caused by race to close send channel (ttrpc#140)
- Fix unmarshal to return non-nil object when nil value (ttrpc#140)
See the changelog for complete list of changes
Please try out the release binaries and report any issues at
https://github.com/containerd/containerd/issues.
Contributors
- Derek McGowan
- Sebastiaan van Stijn
- Akihiro Suda
- Iceber Gu
- Phil Estes
- Maksym Pavlenko
- Wei Fu
- Danny Canter
- Kirtana Ashok
- Rodrigo Campos
- Samuel Karp
- Vinayak Goyal
- Austin Vazquez
- Justin Chadwell
- Kazuyoshi Kato
- Brad Davidson
- Djordje Lukic
- Ethan Lowman
- Laura Brehm
- Michael Crosby
Changes
68 commits
- [release/1.7] Prepare release notes for v1.7.1 (#8501)
27a0d957b
Prepare release notes for v1.7.1
- [release/1.7] Update ttrpc v1.2.2 (#8499)
7b288e2d7
Update ttrpc to v1.2.2
- [release/1.7] runtime/shim: fix the nil checkpoint options (#8475)
3ef5b689a
runtime/shim: fix the nil checkpoint options
- [release/1.7] bump typeurl to v2.1.1 (#8495)
0e0532eb2
bump typeurl to v2.1.1
- [release/1.7] Transfer service backports (#8491)
- [release/1.7]Update hcsshim tag to v0.10.0-rc.8 (#8480)
aaa65e8c1
Update hcsshim tag to v0.10.0-rc.8
- [release/1.7] cri: Fix umarshal metrics (#8472)
95ef67e19
Fix umarshal metrics for CRI server
- [release/1.7 backport] update go to go1.20.4, go1.19.9 (#8471)
021bba28b
update go to go1.20.4, go1.19.9
- [release/1.7] fix the task setting the runtime path (#8453)
- [release/1.7] Remove entry for container from container store on error (#8457)
6b3ae0129
Remove entry for container from container store on error
- [release/1.7 backport] update runc binary to v1.1.7 (#8451)
fae4b6223
update runc binary to v1.1.7
- [release/1.7] cri: Vendor v0.27.1 (#8444)
571715a9d
cri: Vendor v0.27.1
- [release/1.7 backport] oci: partially restore comment on read-only mounts for uid/gid uses (#8404)
1bbf98e53
oci: partially restore comment on read-only mounts for uid/gid uses
- [release/1.7] Fix argsEscaped tests (#8405)
a6d336c1f
Fix argsEscaped tests
- [release/1.7] Throw an error if the kubelet requests mounts with uid/gid mappings (#8211)
- [release/1.7] go.mod: remove redundant replace, and some cleaning-up (#8396)
- [release/1.7 backport] update runc binary to v1.1.6 (#8386)
dec2595af
update runc binary to v1.1.6
- [release/1.7 backport] oci: Use WithReadonlyTempMount when adding users/groups (#8358)
54d12b872
oci: Use WithReadonlyTempMount when adding users/groups
- [release/1.7 backport] update go to go1.20.3, go1.19.8 (#8354)
624327651
update go to go1.20.3, go1.19.8
- [release/1.7] archive: consistently respect value of WithSkipDockerManifest (#8344)
- [release/1.7] Add noexec nodev and nosuid to sandbox /etc/resolv.conf mount bind. (#8336)
- [release/1.7] ctr/tasks: fix unmarshal the task metrics for cgroups v1 (#8335)
1a64f1b43
ctr/tasks: fix unmarshal the task metrics for cgroups v1
- [release/1.7] Keep linux mounts for linux sandboxes on Windows/Darwin (#8331)
17c52a26d
Keep linux mounts for linux sandboxes on Windows/Darwin
- [release/1.7] update runc binary to v1.1.5 (#8325)
- [backport 1.7] Defer uid lookups on Darwin (#8314)
90591db47
Defer uid lookups on Darwin
- [release/1.7 backport] Add
WithReadonlyTempMount
to create readonly temporary mounts (#8300)b7d87b190
AddWithReadonlyTempMount
to create readonly temporary mounts
- [release/1.7] Backport Sandbox/CRI fixes (#8282)
Changes from containerd/ttrpc
8 commits
- First process the pending messages in recv channel (#144)
c51165f
First process the pending messages in recv channel
- Add recvClose channel to stream (#140)
471297e
Add recvClose channel to stream
- Unwrap IO errors in server connection error handling (#141)
9599fad
Unwrap io errors in server connection receive error handling
- Update GitHub actions CI workflow (#124)
c7b5a32
Update GitHub actions CI workflow
Dependency Changes
- github.com/Microsoft/go-winio v0.6.0 -> v0.6.1
- github.com/Microsoft/hcsshim v0.10.0-rc.7 -> v0.10.0-rc.8
- github.com/containerd/ttrpc v1.2.1 -> v1.2.2
- github.com/containerd/typeurl/v2 v2.1.0 -> v2.1.1
- github.com/golang/protobuf v1.5.2 -> v1.5.3
- github.com/opencontainers/runc v1.1.4 -> v1.1.5
- github.com/opencontainers/runtime-tools 946c877fa809 -> 2e043c6bd626
- golang.org/x/mod v0.7.0 -> v0.9.0
- golang.org/x/net v0.7.0 -> v0.8.0
- golang.org/x/sys v0.6.0 -> v0.7.0
- golang.org/x/term v0.5.0 -> v0.6.0
- golang.org/x/text v0.7.0 -> v0.8.0
- golang.org/x/tools v0.5.0 -> v0.7.0
- google.golang.org/protobuf v1.28.1 -> v1.29.1
- k8s.io/cri-api v0.26.2 -> v0.27.1
Previous release can be found at v1.7.0