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
It has come up a number of times that the manifest-list, while
intentionally suited for pointing to a list of manifests, is intended to
be a general index and entry-point. During the image-layout addition of
`/index.json`, replacing the ./refs/ directory, it was recommended that
we finally make this distinction in the manifest-list as well.
This rename does not affect the compatibility with the docker v2.s2
manifest-list, as it is primarily a semantic change.
Signed-off-by: Vincent Batts <[email protected]>
Copy file name to clipboardexpand all lines: considerations.md
+1-1
Original file line number
Diff line number
Diff line change
@@ -1,6 +1,6 @@
1
1
# Extensibility
2
2
3
-
Implementations that are reading/processing [manifests](manifest.md) or [manifest lists](manifest-list.md) MUST NOT generate an error if they encounter an unknown property.
3
+
Implementations that are reading/processing [manifests](manifest.md) or [image index](image-index.md) MUST NOT generate an error if they encounter an unknown property.
Copy file name to clipboardexpand all lines: image-layout.md
+10-6
Original file line number
Diff line number
Diff line change
@@ -5,7 +5,7 @@ This layout MAY be used in a variety of different transport mechanisms: archive
5
5
6
6
Given an image layout and a ref, a tool can create an [OCI Runtime Specification bundle](https://github.com/opencontainers/runtime-spec/blob/v1.0.0-rc3/bundle.md) by:
7
7
8
-
* Following the ref to find a [manifest](manifest.md#image-manifest), possibly via a [manifest list](manifest-list.md#manifest-list)
8
+
* Following the ref to find a [manifest](manifest.md#image-manifest), possibly via a [image index](image-index.md)
9
9
*[Applying the filesystem layers](layer.md#applying) in the specified order
10
10
* Converting the [image configuration](config.md) into an [OCI Runtime Specification `config.json`](https://github.com/opencontainers/runtime-spec/blob/v1.0.0-rc3/config.md)
11
11
@@ -27,7 +27,7 @@ The image layout is as follows:
27
27
-`index.json` file
28
28
- It MUST exist
29
29
- It MUST be a JSON object
30
-
- It MUST have the base properties of [manifest-list](manifest-list.md).
30
+
- It MUST have the base properties of an [image index](image-index.md).
31
31
- See [index.json](#indexjson-file) section
32
32
33
33
## Example Layout
@@ -143,12 +143,12 @@ The `imageLayoutVersion` value will align with the OCI Image Specification versi
143
143
## index.json file
144
144
145
145
This REQUIRED file is the entry point for references and descriptors of the image-layout.
146
-
The [manifest-list](manifest-list.md) is a multi-descriptor entry point.
146
+
The [image index](image-index.md) is a multi-descriptor entry point.
147
147
148
148
This index provides an established path (`/index.json`) to have an entry point for an image-layout and to discover auxiliary descriptors.
149
149
150
150
No semantic restriction is given for the "org.opencontainers.ref.name" annotation of descriptors.
151
-
In general the `mediaType` of each [descriptor][descriptors] object in the `manifests` field will be either `application/vnd.oci.image.manifest.list.v1+json` or `application/vnd.oci.image.manifest.v1+json`
151
+
In general the `mediaType` of each [descriptor][descriptors] object in the `manifests` field will be either `application/vnd.oci.image.index.v1+json` or `application/vnd.oci.image.manifest.v1+json`
152
152
Future versions of the spec MAY use a different mediatype (i.e. a new versioned format).
153
153
An encountered `mediaType` that is unknown SHOULD be safely ignored.
154
154
@@ -162,12 +162,12 @@ Those tags will often be represented in an image-layout repository with matching
layer [shape=note, label="Layer tar archive\napplication/vnd.oci.image.layer.v1.tar\napplication/vnd.oci.image.layer.v1.tar+gzip\napplication/vnd.oci.image.layer.nondistributable.v1.tar\napplication/vnd.oci.image.layer.nondistributable.v1.tar+gzip"]
Copy file name to clipboardexpand all lines: manifest.md
+2-2
Original file line number
Diff line number
Diff line change
@@ -3,15 +3,15 @@
3
3
There are three main goals of the Image Manifest Specification.
4
4
The first goal is content-addressable images, by supporting an image model where the image's configuration can be hashed to generate a unique ID for the image and its components.
5
5
The second goal is to allow multi-architecture images, through a "fat manifest" which references image manifests for platform-specific versions of an image.
6
-
In OCI, this is codified in a [Manifest List](manifest-list.md).
6
+
In OCI, this is codified in a [Image Index](image-index.md).
7
7
The third goal is to be translatable to the [OCI Runtime Specification](https://github.com/opencontainers/runtime-spec).
8
8
9
9
This section defines the `application/vnd.oci.image.manifest.v1+json`[media type](media-types.md).
10
10
For the media type(s) that this is compatible with see the [matrix](media-types.md#compatibility-matrix).
11
11
12
12
# Image Manifest
13
13
14
-
Unlike the [Manifest List](manifest-list.md), which contains information about a set of images that can span a variety of architectures and operating systems, an image manifest provides a configuration and set of layers for a single container image for a specific architecture and operating system.
14
+
Unlike the [Image Index](image-index.md), which contains information about a set of images that can span a variety of architectures and operating systems, an image manifest provides a configuration and set of layers for a single container image for a specific architecture and operating system.
-`application/vnd.oci.image.layer.v1.tar`: ["Layer", as a tar archive](layer.md)
@@ -31,7 +31,7 @@ The OCI Image Specification strives to be backwards and forwards compatible when
31
31
Breaking compatibility with existing systems creates a burden on users whether they are build systems, distribution systems, container engines, etc.
32
32
This section shows where the OCI Image Specification is compatible with formats external to the OCI Image and different versions of this specification.
@@ -62,6 +62,6 @@ The following figure shows how the above media types reference each other:
62
62

63
63
64
64
[Descriptors](descriptor.md) are used for all references.
65
-
The manifest list being a "fat manifest" references one or more image manifests per target platform. An image manifest references exactly one target configuration and possibly many layers.
65
+
The image-index being a "fat manifest" references one or more image manifests per target platform. An image manifest references exactly one target configuration and possibly many layers.
0 commit comments