From 9286846f6a5e8a3e3f6cb3580dac754d1680cd2d Mon Sep 17 00:00:00 2001 From: Stephen J Day Date: Thu, 19 Jan 2017 14:52:55 -0800 Subject: [PATCH] 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]: https://github.com/opencontainers/image-spec/pull/388#discussion_r96765401 Signed-off-by: Stephen J Day Signed-off-by: W. Trevor King --- config.md | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/config.md b/config.md index 3f6dc035a..1967404b0 100644 --- a/config.md +++ b/config.md @@ -28,7 +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. -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. +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. ### Layer ChainID