Skip to content

Commit 5fb15b3

Browse files
committed
Use layer digest in the description of DiffID
Signed-off-by: Lei Jitang <[email protected]>
1 parent 0e2b3f1 commit 5fb15b3

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

config.md

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -26,7 +26,7 @@ Changing it means creating a new derived image, instead of changing the existing
2626
A layer DiffID is a SHA256 digest over the layer's uncompressed tar archive and serialized in the descriptor digest format, e.g., `sha256:a9561eb1b190625c9adb5a9513e72c4dedafc1cb2d4c5236c9a6957ec7dfd5a9`.
2727
Layers must be packed and unpacked reproducibly to avoid changing the layer DiffID, for example by using tar-split to save the tar headers.
2828

29-
NOTE: the DiffID is different than the digest in the manifest list because the manifest digest is taken over the gzipped layer for `application/vnd.oci.image.layer.tar+gzip` types.
29+
NOTE: the DiffID is different than the layer digest because it is taken over the uncompressed content of the gzipped layer for `application/vnd.oci.image.layer.tar+gzip` types.
3030

3131
### Layer ChainID
3232

0 commit comments

Comments
 (0)