Skip to content

Commit a70ad6e

Browse files
committed
config: Simplify the paragraph contrasting diffIDs with layer digests
Trevor and I couldn't agree on more detailed wording [1], and this paragraph was never normative anyway. [1]: opencontainers/image-spec#388 (comment) Signed-off-by: Stephen J Day <[email protected]> Signed-off-by: W. Trevor King <[email protected]>
1 parent 840b187 commit a70ad6e

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
@@ -28,7 +28,7 @@ Changing it means creating a new derived image, instead of changing the existing
2828
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`.
2929
Layers must be packed and unpacked reproducibly to avoid changing the layer DiffID, for example by using tar-split to save the tar headers.
3030

31-
NOTE: the DiffID is different than the layer digest because it is taken over the uncompressed gzipped layer for `application/vnd.oci.image.layer.v1.tar+gzip` types.
31+
NOTE: Do not confuse DiffIDs with [layer digests](manifest.md#image-manifest-property-descriptions), often referenced in the manifest, which are digests over compressed content.
3232

3333
### Layer ChainID
3434

0 commit comments

Comments
 (0)