containerd integration: verify RepoDigests, RepoTags works for untagged or multiple tags #43861
Labels
area/images
containerd-integration
Issues and PRs related to containerd integration
kind/feature
Functionality or other elements that the project doesn't currently have. Features are new and shiny
Description
Images may be present in the local image cache without having been pushed and/or tagged ("dangling").
The new code unconditionally includes
RepoDigests
andRepoTags
;moby/daemon/containerd/image_list.go
Lines 59 to 60 in 98d8343
But also assumes an image always has a single tag (which may not be the case, e.g.
ubuntu:latest
andubuntu:22.04
may be the same image).The old code accounts for this situation, and (for backward compatibility) returns
<none>:<none>
as name/tag;moby/daemon/images/image_list.go
Lines 152 to 167 in 7624f8a
The text was updated successfully, but these errors were encountered: