docker-library / official-images

Primary source of truth for the Docker "Official Images" program

Home Page:https://hub.docker.com/u/library

Geek Repo:Geek Repo

Github PK Tool:Github PK Tool

arm64v8 and other non-standard architecture images don't show as "official images"

AliceGrey opened this issue · comments

commented

None of the images under https://hub.docker.com/u/arm64v8/ show as official images.

🤔This applies to every architecture namespace we use, even the most common amd64. They've mostly been an implementation detail for where we stage architecture specific images before they are "promoted" to library/. Because not all architectures build equally fast, they can finish at their own pace and be added to the image index in library/ when they are ready without slowing down the others. Container registries don't have locking or atomic updates, so we can't just have each arch update the image index directly.

Even though you can specify --platform with Docker and Containerd tooling, the architecture specific images are useful to be able to pull that specific architecture or fail and not have docker/containerd fallback to alternative architecures.

It might cause confusion if, for example, there are suddenly many Alpine official images labeled on Docker Hub. Sure, all the sha256 image ids are the same, but that takes digging to see that.

I'll pass this issue along to product folks and let them decide if Docker Hub should do something special to our DOI architecture-specific repos: