Skip to content

Commit 6a983fd

Browse files
authored
Merge pull request #1173 from tianon/note-imageid
Add note about `ImageID` to the `config` section of `manifest.md`
2 parents f5f8701 + 652ec7c commit 6a983fd

File tree

1 file changed

+2
-0
lines changed

1 file changed

+2
-0
lines changed

manifest.md

Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -57,6 +57,8 @@ Unlike the [image index](image-index.md), which contains information about a set
5757

5858
To set an effectively null or empty config and maintain portability see the [guidance for an empty descriptor](#guidance-for-an-empty-descriptor) below, and `DescriptorEmptyJSON` of the reference code.
5959

60+
If this image manifest will be "runnable" by a runtime of some kind, it is strongly recommended to ensure it includes enough data to be unique (such as the `rootfs` and `diff_ids` included in `application/vnd.oci.image.config.v1+json`) so that it has a unique [`ImageID`](config.md#imageid).
61+
6062
- **`layers`** *array of objects*
6163

6264
Each item in the array MUST be a [descriptor](descriptor.md).

0 commit comments

Comments
 (0)