docker / hub-feedback

Feedback and bug reports for the Docker Hub
https://hub.docker.com
235 stars 39 forks source link

Docker Hub does not show information for a tag #2369

Open andreaangiolillo opened 9 months ago

andreaangiolillo commented 9 months ago

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

stepheUp commented 9 months ago

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

nephatrine commented 8 months ago

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

stepheUp commented 8 months ago

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 commented 8 months ago

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:

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 commented 8 months ago

Hello nephatrine, that is helping thanks a lot

nephatrine commented 7 months ago

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 commented 7 months ago

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 commented 7 months ago

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

image

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

image

sheltongraves commented 6 months ago

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

jhesketh commented 5 months ago

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