Skip to content
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

Docker Hub does not show information for a tag #2369

Open
2 of 3 tasks
andreaangiolillo opened this issue Feb 13, 2024 · 10 comments
Open
2 of 3 tasks

Docker Hub does not show information for a tag #2369

andreaangiolillo opened this issue Feb 13, 2024 · 10 comments
Assignees

Comments

@andreaangiolillo
Copy link

andreaangiolillo commented Feb 13, 2024

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

  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

Screenshots of the issue (if applicable)

Screenshot 2024-02-13 at 10 11 03

Screenshot 2024-02-13 at 10 19 38

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

Task List

  • This is NOT a security issue
  • I do NOT have a Docker subscription
  • I have looked through other issues and they do NOT apply to me
@andreaangiolillo andreaangiolillo changed the title Docker Hub does not show image information for tag Docker Hub does not show information for a tag Feb 13, 2024
@stepheUp stepheUp self-assigned this Feb 14, 2024
@stepheUp
Copy link
Collaborator

Hello, thank you for reporting, we'll look into it

@nephatrine
Copy link

nephatrine commented Mar 6, 2024

I am also experiencing this same issue. I can post some examples if needed.

@stepheUp
Copy link
Collaborator

Hello thank you very much for reporting, we are working on this but we were unable to reproduce the issue for now. If you could share more examples of running into this, it would be highly appreciated.
Thank you very much for your help

@nephatrine
Copy link

If you could share more examples of running into this, it would be highly appreciated.

I push these tags with a single imagetools create command:

  • nephatrine/nginx-ssl:latest
  • nephatrine/nginx-ssl:1.25.4
  • nephatrine/nginx-ssl:1.25
  • nephatrine/nginx-ssl:1

All of the tags show all five platforms/digests I compile for in the tag information... except for nephatrine/nginx-ssl:1.25.4 - that one only shows linux/386 and none of the others. If I try to pull it or use imagetools inspect, I can get those other architectures just fine - so they're clearly there but dockerhub just doesn't show them as existing.

@stepheUp
Copy link
Collaborator

Hello nephatrine, that is helping thanks a lot

@nephatrine
Copy link

nephatrine commented Mar 22, 2024

I'd like to note for anyone else that comes across this that pushing each architecture to dockerhub as a separate tag and then using manifest create and manifest push does not have this issue and so is a workaround for now if you don't mind having a ton of extra tags show up (i.e. latest-amd64, latest-arm64, etc. in addition to just latest).

@stepheUp
Copy link
Collaborator

stepheUp commented Apr 5, 2024

We have some rework planned on another topic which will also fix this issue, so it's planned to be fixed in the coming months but i don't have any visibility on the release date. Stay tuned.

@alexandrecuer
Copy link

same problem here, with the following images, built through github actions :

  • alexjunk/emoncms:alpine3.19_emoncms11.5.0
  • alexjunk/emoncms:11.5.0_AL3.19
  • alexjunk/emoncms:alpine3.19_emoncms11.5.0_1

image

with another profile, the same github actions produced an image which is correctly described in the hub :

image

@sheltongraves
Copy link

This issue has been fixed. Please let us know if this happens again.

@jhesketh
Copy link

Hello,

We are still seeing this issue on a few of our repositories. Each of these tags should have multiple architectures (which I can check with inspect): https://hub.docker.com/r/grafana/enterprise-metrics/tags but some are missing:

image

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
Development

No branches or pull requests

6 participants