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
media-types.md: clarify differences from Docker media types
OCI media types are slightly different from Docker ones,
e.g., Docker manifests must have `.mediaType` field while OCI may not have.
Also, OCI descriptors may have `.annotations` while Docker may not.
Also updates to compare the spec with Docker Image Spec v1.2, not v1.0.
OCI Image Spec v1 is more akin to Docker Image Spec v1.2 rather than v1.0,
which lacked content addressability.
See also https://github.com/moby/moby/blob/v20.10.1/image/spec/README.md for
differencces between Docker Image Spec v1.2 and v1.0.
Signed-off-by: Akihiro Suda <[email protected]>
Copy file name to clipboardExpand all lines: config.md
+16Lines changed: 16 additions & 0 deletions
Display the source diff
Display the rich diff
Original file line number
Diff line number
Diff line change
@@ -183,6 +183,22 @@ Note: Any OPTIONAL field MAY also be set to null, which is equivalent to being a
183
183
184
184
The field contains the system call signal that will be sent to the container to exit. The signal can be a signal name in the format `SIGNAME`, for instance `SIGKILL` or `SIGRTMIN+3`.
185
185
186
+
-**Memory***integer*, OPTIONAL
187
+
188
+
This property is *reserved* for use, to [maintain compatibility](media-types.md#compatibility-matrix).
189
+
190
+
-**MemorySwap***integer*, OPTIONAL
191
+
192
+
This property is *reserved* for use, to [maintain compatibility](media-types.md#compatibility-matrix).
193
+
194
+
-**CpuShares***integer*, OPTIONAL
195
+
196
+
This property is *reserved* for use, to [maintain compatibility](media-types.md#compatibility-matrix).
197
+
198
+
-**Healthcheck***object*, OPTIONAL
199
+
200
+
This property is *reserved* for use, to [maintain compatibility](media-types.md#compatibility-matrix).
201
+
186
202
-**rootfs***object*, REQUIRED
187
203
188
204
The rootfs key references the layer content addresses used by the image.
Copy file name to clipboardExpand all lines: media-types.md
+19-4Lines changed: 19 additions & 4 deletions
Display the source diff
Display the rich diff
Original file line number
Diff line number
Diff line change
@@ -38,25 +38,40 @@ This section shows where the OCI Image Specification is compatible with formats
38
38
39
39
**Similar/related schema**
40
40
41
-
-[application/vnd.docker.distribution.manifest.list.v2+json](https://github.com/docker/distribution/blob/master/docs/spec/manifest-v2-2.md#manifest-list) - mediaType is different
0 commit comments