diff --git a/config.md b/config.md index af87d0a1a..c4730c87e 100644 --- a/config.md +++ b/config.md @@ -28,8 +28,7 @@ Changing it means creating a new derived image, instead of changing the existing 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`. Layers must be packed and unpacked reproducibly to avoid changing the layer DiffID, for example by using tar-split to save the tar headers. -The difference between DiffIDs and the layer digests in the [manifest's `layers`](manifest.md#image-manifest-property-descriptions) is that the layer digest is taken over the blob regardless of compression, while the DiffID is taken after removing any compression. -For an [`application/vnd.oci.image.layer.v1.tar+gzip`](layer.md) layer, the layer digest is taken over the `application/vnd.oci.image.layer.v1.tar+gzip` content, while the DiffID is take over the [`application/vnd.oci.image.layer.v1.tar`](media-types.md#oci-image-media-types) content. +Do not confuse DiffIDs with [layer digests](manifest.md#image-manifest-property-descriptions), often referenced in the manifest, which allow digests over compressed or uncompressed content. ### Layer ChainID