8000 c8d: unable to reference platform-specific images by ID · Issue #49995 · moby/moby · GitHub
[go: up one dir, main page]
More Web Proxy on the site http://driver.im/
Skip to content

c8d: unable to reference platform-specific images by ID #49995

New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Open
thaJeztah opened this issue May 15, 2025 · 0 comments
Open

c8d: unable to reference platform-specific images by ID #49995

thaJeztah opened this issue May 15, 2025 · 0 comments
Labels
area/images 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. kind/enhancement Enhancements are not bugs or new features but can improve usability or performance.

Comments

@thaJeztah
Copy link
Member

Description

When multiple variants of an image are present, trying to reference a specific variant (e.g. to inspect) produces an error;

docker pull --quiet --platform=linux/amd64 alpine
docker pull --quiet --platform=linux/arm64 alpine

docker image ls --tree
IMAGE                   ID             DISK USAGE   CONTENT SIZE   EXTRA
alpine:latest           a8560b36e8b8         25MB         7.64MB
├─ linux/amd64          1c4eef651f65       12.1MB         3.64MB
├─ linux/arm/v6         903bfe2ae994           0B             0B
├─ linux/arm/v7         9c2d245b3c01           0B             0B
├─ linux/arm64/v8       757d680068d7       12.8MB         3.99MB
├─ linux/386            2436f2b3b7d2           0B             0B
├─ linux/ppc64le        9ed53fd3b831           0B             0B
├─ linux/riscv64        1de5eb4a9a67           0B             0B
└─ linux/s390x          fe0dcdd1f783           0B             0B

Inspecting the top-level ID works;

docker image inspect --format '{{.Id}}'  a8560b36e8b8
sha256:a8560b36e8b8210634f77d9f7f9efd7ffa463e380b75e2e74aff4511df3ef88c

But attempting to inspect one of the variants does not;

docker image inspect --format '{{.Id}}'  1c4eef651f65
Error response from daemon: No such image: 1c4eef651f65:latest

docker image inspect --format '{{.Id}}'  757d680068d7
Error response from daemon: No such image: 757d680068d7:latest

I'd expect being able to reference those variants using the ID that's shown, e.g. to;

  • inspect
  • delete
  • run
@thaJeztah thaJeztah added kind/enhancement Enhancements are not bugs or new features but can improve usability or performance. kind/bug Bugs are bugs. The cause may or may not be known at triage time so debugging may be needed. area/images containerd-integration Issues and PRs related to containerd integration labels May 15, 2025
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
area/images 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. kind/enhancement Enhancements are not bugs or new features but can improve usability or performance.
Projects
None yet
Development

No branches or pull requests

1 participant
0