c8d: docker images / docker image ls spams debug logs with "unknown type application/vnd.in-toto+json" #49042
Labels
area/images
containerd-integration
Issues and PRs related to containerd integration
kind/enhancement
Enhancements are not bugs or new features but can improve usability or performance.
version/27.4
Description
It looks like we don't have a special case for attestations, and those therefore fall through to "unknown type", resulting in noisy debug logs; here's the logs when running
docker image ls
with the containerd image store enabled;It looks like this log is produced in containerd vendored code inside the
Children
function;moby/vendor/github.com/containerd/containerd/images/image.go
Lines 341 to 342 in b1fc766
moby/vendor/github.com/containerd/containerd/images/image.go
Lines 380 to 386 in b1fc766
Reproduce
See above
Expected behavior
No response
docker version
Client: Version: 27.4.0-rc.4 API version: 1.47 Go version: go1.22.10 Git commit: bde2b89 Built: Wed Dec 4 18:31:46 2024 OS/Arch: darwin/arm64 Context: desktop-linux Server: Docker Desktop 4.38.0 (177667) Engine: Version: 27.4.0-rc.4 API version: 1.47 (minimum version 1.24) Go version: go1.22.10 Git commit: 92a8393 Built: Wed Dec 4 18:35:08 2024 OS/Arch: linux/arm64 Experimental: false containerd: Version: 1.7.21 GitCommit: 472731909fa34bd7bc9c087e4c27943f9835f111 runc: Version: 1.1.13 GitCommit: v1.1.13-0-g58aa920 docker-init: Version: 0.19.0 GitCommit: de40ad0
docker info
Additional Info
No response
The text was updated successfully, but these errors were encountered: