-
Notifications
You must be signed in to change notification settings - Fork 261
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
Show the "Manifest List" / "OCI Index" digest in the UI #262
Comments
+1 |
As a user, I was confused. I support this request. |
+1 |
Really need this feature to easily get the latest cross-platform digest to pin images to. In the meantime, to get the overall manifest list from the Docker Hub Registry API: curl https://auth.docker.io/token?scope=repository:$image:pull&service=registry.docker.io where This will return a JWT token in the format: {
"token", ...,
"expires_in": ...,
"issued_at": ...
} The Bearer Token is the value in curl -v -H "Accept: application/vnd.docker.distribution.manifest.list.v2+json" -H "Authorization: Bearer $token" "https://registry-1.docker.io/v2/$image/manifests/$tag" where The overall manifest list digest can be found in the |
Thanks @daniel-shuy. It's nuts DockerHub doesn't show that on their website. How else are people supposed to verify the hashes? Crazy. |
Let me copy my comment from moby/moby#40636 (comment);
|
+1 |
1 similar comment
+1 |
+1 - I recently created a lesson on this and already I've had two confused students reach out and mention that what they see in Docker Hub doesn't match what they see in the pull command. It's fine of course if the container image is single platform only but, given that multi arch containers are essential (especially with the likes of apple silicon), this could really do with an update. An alternative UI viewpoint suggestion to complement the one from @thaJeztah . This was a quick modification to the html in chrome using inspect elements. Given that real estate is now being taken up by Scout, the OS/ARCH specific digest is at the bottom with the main one seen in the
|
+1 |
1 similar comment
+1 |
+1 |
I think this is a signal that Docker needs to be forked by some intrepid group that is willing to maintain it and cares more about security. This issue is so trivial to fix and yet it has been open for two years now. |
How is this still an open issue?! |
If Docker is really serious about pushing multi-arch, they really need to add this. |
+1 |
1 similar comment
+1 |
+1 this causes so much confusion and PAIN |
Looks like this was deployed @lukoboi ? docker/hub-feedback#1925 (comment)
|
@thaJeztah this has now been deployed 😄 |
Awesome! I think you made a lot of people happy (myself included) I'll go ahead and close this ticket 🥳 🥳 🥳 |
Tell us about your request
Right now, the tags listing UI shows the image digest for each architecture, but not the image digest for the overall manifest list (or OCI index, depending on your terminology preference). This causes concrete user confusion in that
docker pull
(and other tools) will show the manifest list digest (moby/moby#40636, docker/hub-feedback#1925, for example).Which service(s) is this request for?
Docker Hub 😄
Tell us about the problem you're trying to solve. What are you trying to do, and why is it hard?
Ideally, I'd love to be able to
docker pull
something and validate that the digest listed in the output there is the one I see on Docker Hub. However for myself, the bigger thing I want is to be able to choose a tag from the Hub UI, copy the digest of the manifest list, and then be able to reference that digest no matter which architecture I end up running on.Are you currently working around the issue?
I currently work around this by using the Registry APIs directly instead of getting this from the UI. 😞
The text was updated successfully, but these errors were encountered: