You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
This introduces OPTIONAL annotations, which are consistent with the
annotations in the runtime-spec.
While the spec does not exclude use of arbitrary fields, this OPTIONAL
property gives a guided place for manifest authors to isolate their
arbitrary metadata.
Signed-off-by: Vincent Batts <[email protected]>
Copy file name to clipboardExpand all lines: manifest.md
+34-2Lines changed: 34 additions & 2 deletions
Display the source diff
Display the rich diff
Original file line number
Diff line number
Diff line change
@@ -81,6 +81,18 @@ A client will distinguish a manifest list from an image manifest based on the Co
81
81
82
82
This OPTIONAL property specifies an array of strings, each specifying a mandatory CPU feature (for example `sse4` or `aes`).
83
83
84
+
-**`annotations`***string-string hashmap*
85
+
86
+
This OPTIONAL property contains arbitrary metadata for the manifest list.
87
+
Annotations is a key-value, unordered hashmap.
88
+
Keys are unique, and best practice is to namespace the keys.
89
+
Common annotation keys include:
90
+
***created** date on which the image was built (string, timestamps type)
91
+
***authors** contact details of the people or organization responsible for the image (freeform string)
92
+
***homepage** URL to find more information on the image (string, must be a URL with scheme HTTP or HTTPS)
93
+
***documentation** URL to get documentation on the image (string, must be a URL with scheme HTTP or HTTPS)
94
+
95
+
84
96
## Example Manifest List
85
97
86
98
*Example showing a simple manifest list pointing to image manifests for two platforms:*
@@ -110,7 +122,11 @@ A client will distinguish a manifest list from an image manifest based on the Co
110
122
]
111
123
}
112
124
}
113
-
]
125
+
],
126
+
"annotations": {
127
+
"key1": "value1",
128
+
"key2": "value2",
129
+
}
114
130
}
115
131
```
116
132
@@ -174,6 +190,18 @@ The image manifest provides a configuration and a set of layers for a container
174
190
175
191
The digest of the content, as defined by the [Registry V2 HTTP API Specificiation](https://docs.docker.com/registry/spec/api/#digest-parameter).
176
192
193
+
-**`annotations`***hashmap*
194
+
195
+
This OPTIONAL property contains arbitrary metadata for the manifest list.
196
+
Annotations is a key-value, unordered hashmap.
197
+
Keys are unique, and best practice is to namespace the keys.
198
+
Common annotation keys include:
199
+
***created** date on which the image was built (string, timestamps type)
200
+
***authors** contact details of the people or organization responsible for the image (freeform string)
201
+
***homepage** URL to find more information on the image (string, must be a URL with scheme HTTP or HTTPS)
202
+
***documentation** URL to get documentation on the image (string, must be a URL with scheme HTTP or HTTPS)
203
+
204
+
177
205
## Example Image Manifest
178
206
179
207
*Example showing an image manifest:*
@@ -202,7 +230,11 @@ The image manifest provides a configuration and a set of layers for a container
0 commit comments