fetch image tags and hashes

The latest docker registry api spec supports the retrieval of image tags and image hashes.

See tarsum spec See Docker Registry HTTP API V2

tarsum

The tarsum normalizes a tar (sorting by file name, sorting extending attribute headers) and removes some information (timestamps) before calculating a hash. Specifically the hash includes the file contents and the following file attributes: