Skip to content
Discussion options

You must be logged in to vote

Since the image digest is supposed to be unique for a image

That’s not a bijection. A unique digest guarantees a specific image representation, but “the same” image can have many different representations: compressed/uncompressed, different compression algorithms, same compression algorithm but different choices made during compression, or perhaps even different whitespace in metadata.

Is there some other unique hash value for an image rather than image digest which remains constant whether the image is present locally or on a registry?

To answer that correctly requires a very careful thinking about what you mean by “an image” or “the same image”.

In the traditional understanding of t…

Replies: 3 comments 7 replies

Comment options

You must be logged in to vote
0 replies
Comment options

You must be logged in to vote
4 replies
@tarun360
Comment options

@afbjorklund
Comment options

@afbjorklund
Comment options

@afbjorklund
Comment options

Comment options

You must be logged in to vote
3 replies
@tarun360
Comment options

@tarun360
Comment options

@mtrmac
Comment options

Answer selected by tarun360
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Category
Q&A
Labels
None yet
4 participants