-
Notifications
You must be signed in to change notification settings - Fork 18.7k
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
hash mismatch on web vs cli #40636
Comments
Any ideas here? When I pull
|
Actually, the b51 sha is the sha for the manifest list rather than the manifest of the linux/amd64 image. You can see this with
|
Where is the |
Oh, also, copying the hashes from the website is maddening multiple times per day. On Chrome on macOS it selects the Putting the manifest digest there, as well as putting it in its own element that selects just from |
The website does not appear to show the digest of the manifest list. Likewise Docker should probably display the the resolved manifest digest instead of the manifest list digest. |
I think using/displaying the higher (manifest) hash makes a lot more sense; then your Dockerfiles that use it in |
cc @manishtomar |
Thanks @tonistiigi - was already in conversation with the hub team; I'll open internal tickets to improve this |
That message has been in place since docker 1.3.0 (#8213), and while it's not "perfect", changing such messages should not be taken lightly; even though they're not a "formal" contract, many scripts in existence may be parsing the output / checking for these messages, so changing them could break people. |
That sounds suspiciously like "This factually incorrect output is how we've always done it!" 😉 Perhaps regularly breaking the non-formalized contracts is a good way to ensure agility in the future. |
The message was intended to indicate "the local image was updated with a newer (different?) image you just pulled". "regularly breaking" is not always an option with literally millions of active installs. As to the digest being shown, perhaps both the "manifest list" digest, and the digest for the selected should be shown. Currently it's confusing, because the digest is shown underneath the image name, but is actually referring to the digest for the selected architecture. Something like this; w.r.t. "selecting" the digest for copy/pasting; I think there's an issue on the backlog for adding a "copy to clipboard" button, which would make it easier to consume. I tried selecting by mouse, both on Chrome and Safari on macOS, but didn't run into the issue you described initially, but was able to reproduce when moving the cursor "up" while dragging. Not sure what the best solution is for that (perhaps a wider padding would help) |
Figured out steps to reproduce selection issue. Double click inside the hash value itself, then hold the second click and drag left. The moment you select the Selecting right from the I think "copy to clipboard" is overkill. Just double-clicking (or even maybe single clicking?) anywhere inside the element should set the selection to exactly |
Hi, you can verify by following https://gist.github.com/killbus/875b180741951980798c8fdeff04c46d |
Looks like an update was deployed to Docker Hub to fix the presentation; docker/hub-feedback#1925 (comment)
|
Apologies in advance if this is the wrong repo. Happy to take this elsewhere if this is the wrong forum.
Aren't those supposed to be the same?
The text was updated successfully, but these errors were encountered: