containerd-integration: listing multi-arch images is (partially) broken #44573
Labels
containerd-integration
Issues and PRs related to containerd integration
kind/bug
Bugs are bugs. The cause may or may not be known at triage time so debugging may be needed.
Projects
Description
Got something weird on my machine; it looks like it's returning duplicate entries for the same image;
Hitting the API directly shows the same:
I double-checked if it's not something in the Docker Desktop proxy, but using the
.raw
socket, I get the same;Within the Docker Desktop VM, I queried
ctr
, and also didn't see duplicates:So I'm suspecting it's somewhere in
dockerd
. Perhaps it's due to multi-arch; could it be I have the image pulled in 2 different architectures?And with some testing; it looks like that's the case;
docker image pull alpine:3.16 # ... docker image ls REPOSITORY TAG IMAGE ID CREATED SIZE alpine latest 8914eb54f968 4 days ago 3.26MB busybox latest fcd85228d7a2 44 hours ago 832kB
docker image pull --platform=linux/amd64 alpine:3.16 # ... docker image ls REPOSITORY TAG IMAGE ID CREATED SIZE alpine 3.16 b95359c25051 4 seconds ago 2.81MB alpine 3.16 b95359c25051 4 seconds ago 2.71MB alpine latest 8914eb54f968 4 days ago 3.26MB busybox latest fcd85228d7a2 44 hours ago 832kB
Reproduce
see above
Expected behavior
no duplicate images
docker version
Additional Info
Docker Desktop 4.15 with containerd integration, which gets confused when sorting the list of images, and starts duplicating them (as the images are no longer unique);
dashboard_duplicating.mov
The text was updated successfully, but these errors were encountered: