I am building images across multiple build servers on different architectures and then stitching them together using docker buildx imagetools create . This seems to work and docker buildx imagetools inspect reveals all the architectures exist in in the registry and I can pull them so they’re definitely there.
But when I go look in DockerHub on the website it only shows a single architecture. Sometimes I will push to multiple tags like this docker buildx imagetools create -t tag1 -t tag2 image1 image2 image3 and tag1 will show all the architectures but tag2 only shows one. It’s very confusing because as I said they’re all there and can be pulled and seem to work, it’s just not presented that way in the UI. Repushing the image doesn’t resolve it either.
rimelek
(Ákos Takács)
March 5, 2024, 7:34pm
2
I haven’T noticed this yet. Do you have a publicn example? If it is a bug, you could report it on GitHub
Yeah nephatrine/alpine-s6 for instance.
These five tags are all created with the same imagetools create command and actually contain 4 different architectures (arm64, armhf, i386, amd64):
nephatrine/alpine-s6:latest - only shows linux/arm64
nephatrine/alpine-s6:3.1.6.2 - shows correctly
nephatrine/alpine-s6:3.1.6 - shows correctly
nephatrine/alpine-s6:3.1 - shows correctly
nephatrine/alpine-s6:3 - only shows linux/arm/v7
I have no idea why some work fine and others do not. The two tags that aren’t showing up properly aren’t even not working in the same way - they show different archs.
I had no such issues when I was using docker manifest create and docker manifest push to push them so maybe the solution is to just go back to doing that, but I feel like both should work and the buildx commands are the way to go moving forward right?
rimelek
(Ákos Takács)
March 5, 2024, 8:06pm
4
It definitely seems like a bug regardless of how you created the image. I tried this on my Mac with the hub-tool command:
hub-tool tag inspect nephatrine/alpine-s6:latest
It showed
Manifest List:
Name: docker.io/nephatrine/alpine-s6
MediaType: application/vnd.docker.distribution.manifest.list.v2+json
Digest: sha256:d81a673f05b9b0e0b6947b35124cda67dccb1dfe23f479afe3a5efd0692ada4d
Manifests:
Name: docker.io/nephatrine/alpine-s6@sha256:7a50f1968df0fde73aca6c7be27724f839ca716660b78ba86a0b86c5cfa17550
Mediatype: application/vnd.docker.distribution.manifest.v2+json
Platform: linux/amd64
Name: docker.io/nephatrine/alpine-s6@sha256:795187e1da42bc47304f65527a4ebaeec63eb4719b0cdc056816fb6c979c12ee
Mediatype: application/vnd.docker.distribution.manifest.v2+json
Platform: linux/386
Name: docker.io/nephatrine/alpine-s6@sha256:ad2ffdaa81fc76bfe050d021b75017b05c88928518fe04e3a771be7614f6d189
Mediatype: application/vnd.docker.distribution.manifest.v2+json
Platform: linux/arm64
Name: docker.io/nephatrine/alpine-s6@sha256:9a1d174bfe1414fa4aeab57d239b147e652a5f8752a7bbb10d3d1c890bab99e7
Mediatype: application/vnd.docker.distribution.manifest.v2+json
Platform: linux/arm/v7
So as you wrote, the architectures are there but not shown on Docker Hub. In the meantime I also noticed an interesting behavior in the hub-tool
Thanks for the pointer to the dockerhub issues page. I posted here because I didn’t realize that existed. Looks like someone else is having the same issues as me so at least I’m not alone. lol
opened 10:24AM - 13 Feb 24 UTC
investigating
<!--
Are you in the right place?
## General Issues
Please use https://f… orums.docker.com to discuss general issues with your environment, how to set
things up, how to use Docker.
## Security Issues
If you are reporting about security vulnerability in the site or about some malicious image that
should be taken down ASAP then please report it via email to security@docker.com.
## Issues related to running a container in a user's local environment or user's on-prem/cloud based cluster.
- If you are a community user using our Docker Engine product, Please go to https://forums.docker.com/ and verify if other members in the community have run into this issue, or post an issue back to the community.
- If you are a user with a subscription to Docker, you can go to https://hub.docker.com/support/contact/ and create a support ticket.
Please, verify if similar issue is already open by someone else before creating new one. You can
thumbs up an existing issue to express your concern.
-->
<!--
Great, you are in the right place! Do one of these common issues describe the problem you are experiencing?
## Account Activation Issues
Please go to https://hub.docker.com/support/contact/ and open a ticket so our support team can
activate your account.
## Password Reset Issues
Please go to the [reset-password page](https://id.docker.com/reset-password/) in order to reset the
password for your Docker Hub account.
## Deleting User Accounts and Organization Accounts
Please see https://docs.docker.com/docker-hub/deactivate-account/ for next steps.
-->
## Problem description
Occasionally, when uploading a docker image tagged with `latest`, `v1.14.3`, and `v1.14.3-2024-02-13,` some tags fail to display Digest, OS, and Layer details. However, `docker buildx imagetools inspect` consistently reveals the accurate image information.
```
docker buildx imagetools inspect mongodb/atlas:latest
Name: docker.io/mongodb/atlas:latest
MediaType: application/vnd.oci.image.index.v1+json
Digest: sha256:c55a8ea2f32e8a4dafc651aefc71bb869a3a2afd814463db802e386a4c48b7e5
Manifests:
Name: docker.io/mongodb/atlas:latest@sha256:00ea4fc7f19a33935c648209e251dba8aa0901729f91b3fb39f9325a7653e4c6
MediaType: application/vnd.oci.image.manifest.v1+json
Platform: linux/amd64
Name: docker.io/mongodb/atlas:latest@sha256:eac1c76ae35802162190c85197ff0003dfe1562f8765502fb42cd952faa1c0a0
MediaType: application/vnd.oci.image.manifest.v1+json
Platform: linux/arm64
Name: docker.io/mongodb/atlas:latest@sha256:3c9991de32fa8fd6fb2be7ec247540b8fbe19a59a47720fa12170870e5c12ac8
MediaType: application/vnd.oci.image.manifest.v1+json
Platform: unknown/unknown
Annotations:
vnd.docker.reference.digest: sha256:00ea4fc7f19a33935c648209e251dba8aa0901729f91b3fb39f9325a7653e4c6
vnd.docker.reference.type: attestation-manifest
Name: docker.io/mongodb/atlas:latest@sha256:3bc995d63c031db4e506c893c24ac94577661c5b10c1ea96424c9c97cb2ae1a5
MediaType: application/vnd.oci.image.manifest.v1+json
Platform: unknown/unknown
Annotations:
vnd.docker.reference.digest: sha256:eac1c76ae35802162190c85197ff0003dfe1562f8765502fb42cd952faa1c0a0
docker buildx imagetools inspect mongodb/atlas:v1.14.3
Name: docker.io/mongodb/atlas:v1.14.3
MediaType: application/vnd.oci.image.index.v1+json
Digest: sha256:c55a8ea2f32e8a4dafc651aefc71bb869a3a2afd814463db802e386a4c48b7e5
Manifests:
Name: docker.io/mongodb/atlas:v1.14.3@sha256:00ea4fc7f19a33935c648209e251dba8aa0901729f91b3fb39f9325a7653e4c6
MediaType: application/vnd.oci.image.manifest.v1+json
Platform: linux/amd64
Name: docker.io/mongodb/atlas:v1.14.3@sha256:eac1c76ae35802162190c85197ff0003dfe1562f8765502fb42cd952faa1c0a0
MediaType: application/vnd.oci.image.manifest.v1+json
Platform: linux/arm64
Name: docker.io/mongodb/atlas:v1.14.3@sha256:3c9991de32fa8fd6fb2be7ec247540b8fbe19a59a47720fa12170870e5c12ac8
MediaType: application/vnd.oci.image.manifest.v1+json
Platform: unknown/unknown
Annotations:
vnd.docker.reference.digest: sha256:00ea4fc7f19a33935c648209e251dba8aa0901729f91b3fb39f9325a7653e4c6
vnd.docker.reference.type: attestation-manifest
Name: docker.io/mongodb/atlas:v1.14.3@sha256:3bc995d63c031db4e506c893c24ac94577661c5b10c1ea96424c9c97cb2ae1a5
MediaType: application/vnd.oci.image.manifest.v1+json
Platform: unknown/unknown
Annotations:
vnd.docker.reference.type: attestation-manifest
vnd.docker.reference.digest: sha256:eac1c76ae35802162190c85197ff0003dfe1562f8765502fb42cd952faa1c0a0
docker buildx imagetools inspect mongodb/atlas:v1.14.3-2024-02-13
Name: docker.io/mongodb/atlas:v1.14.3-2024-02-13
MediaType: application/vnd.oci.image.index.v1+json
Digest: sha256:c55a8ea2f32e8a4dafc651aefc71bb869a3a2afd814463db802e386a4c48b7e5
Manifests:
Name: docker.io/mongodb/atlas:v1.14.3-2024-02-13@sha256:00ea4fc7f19a33935c648209e251dba8aa0901729f91b3fb39f9325a7653e4c6
MediaType: application/vnd.oci.image.manifest.v1+json
Platform: linux/amd64
Name: docker.io/mongodb/atlas:v1.14.3-2024-02-13@sha256:eac1c76ae35802162190c85197ff0003dfe1562f8765502fb42cd952faa1c0a0
MediaType: application/vnd.oci.image.manifest.v1+json
Platform: linux/arm64
Name: docker.io/mongodb/atlas:v1.14.3-2024-02-13@sha256:3c9991de32fa8fd6fb2be7ec247540b8fbe19a59a47720fa12170870e5c12ac8
MediaType: application/vnd.oci.image.manifest.v1+json
Platform: unknown/unknown
Annotations:
vnd.docker.reference.digest: sha256:00ea4fc7f19a33935c648209e251dba8aa0901729f91b3fb39f9325a7653e4c6
vnd.docker.reference.type: attestation-manifest
Name: docker.io/mongodb/atlas:v1.14.3-2024-02-13@sha256:3bc995d63c031db4e506c893c24ac94577661c5b10c1ea96424c9c97cb2ae1a5
MediaType: application/vnd.oci.image.manifest.v1+json
Platform: unknown/unknown
Annotations:
vnd.docker.reference.digest: sha256:eac1c76ae35802162190c85197ff0003dfe1562f8765502fb42cd952faa1c0a0
```
We push the docker image to the `mongo/apix` from a staging docker hub repo via `docker builds imagetools create`
```bash
docker buildx imagetools create \
--tag ${{ env.IMAGE_REPOSITORY }}:latest \
--tag ${{ env.IMAGE_REPOSITORY }}:${{ env.LATEST_VERSION }} \
--tag ${{ env.IMAGE_REPOSITORY }}:${{ env.LATEST_VERSION }}-${{ env.DATE }} \
${{ env.STAGING_IMAGE_REPOSITORY }}:latest
```
## Debug Information
**Browser name and version**:
Google Chrome Version 121.0.6167.160
**URL**:
https://hub.docker.com/repository/docker/mongodb/atlas/tags?page=1&ordering=last_updated
**Timetamp or time range**:
GMT
**Public IP**:
**Hub Username**:
[svcdockerhubapix429](https://hub.docker.com/u/svcdockerhubapix429)
## Screenshots of the issue (if applicable)
![Screenshot 2024-02-13 at 10 11 03](https://github.com/docker/hub-feedback/assets/5663078/50d7c8c7-1ae8-4901-8987-d24810353f24)
![Screenshot 2024-02-13 at 10 19 38](https://github.com/docker/hub-feedback/assets/5663078/957771ce-a71d-4942-94db-c0b168647eeb)
We use the same piece of code to release to Quay.io and the tag there is shown correctly:
![Screenshot 2024-02-13 at 12 07 59](https://github.com/docker/hub-feedback/assets/5663078/992f4580-993d-4d06-bdeb-3d5881dfb3f5)
# Task List
- [x] This is **NOT** a security issue
- [ ] I do **NOT** have a Docker subscription
- [x] I have looked through other issues and they do **NOT** apply to me