-
Notifications
You must be signed in to change notification settings - Fork 676
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
*: manifest-list -> image-index #546
Changes from all commits
File filter
Filter by extension
Conversations
Jump to
Diff view
Diff view
There are no files selected for viewing
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1,12 +1,12 @@ | ||
digraph G { | ||
{ | ||
manifestList [shape=note, label="Manifest list\n<<optional>>\napplication/vnd.oci.image.manifest.list.v1+json"] | ||
imageIndex [shape=note, label="Image Index\n<<optional>>\napplication/vnd.oci.image.index.v1+json"] | ||
manifest [shape=note, label="Image manifest\napplication/vnd.oci.image.manifest.v1+json"] | ||
config [shape=note, label="Image JSON\napplication/vnd.oci.image.config.v1+json"] | ||
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"] | ||
} | ||
|
||
manifestList -> manifest [label="1..*"] | ||
imageIndex -> manifest [label="1..*"] | ||
manifest -> config [label="1..1"] | ||
manifest -> layer [label="1..*"] | ||
} |
Original file line number | Diff line number | Diff line change |
---|---|---|
|
@@ -3,7 +3,7 @@ | |
The following media types identify the formats described here and their referenced resources: | ||
|
||
- `application/vnd.oci.descriptor.v1+json`: [Content Descriptor](descriptor.md) | ||
- `application/vnd.oci.image.manifest.list.v1+json`: [Manifest list](manifest-list.md#manifest-list) | ||
- `application/vnd.oci.image.index.v1+json`: [Image Index](image-index.md) | ||
- `application/vnd.oci.image.manifest.v1+json`: [Image manifest](manifest.md#image-manifest) | ||
- `application/vnd.oci.image.config.v1+json`: [Image config](config.md) | ||
- `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 | |
Breaking compatibility with existing systems creates a burden on users whether they are build systems, distribution systems, container engines, etc. | ||
This section shows where the OCI Image Specification is compatible with formats external to the OCI Image and different versions of this specification. | ||
|
||
### application/vnd.oci.image.manifest.list.v1+json | ||
### application/vnd.oci.image.index.v1+json | ||
|
||
**Similar/related schema** | ||
|
||
|
@@ -62,6 +62,6 @@ The following figure shows how the above media types reference each other: | |
![](img/media-types.png) | ||
|
||
[Descriptors](descriptor.md) are used for all references. | ||
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. | ||
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. | ||
There was a problem hiding this comment. Choose a reason for hiding this commentThe reason will be displayed to describe this comment to others. Learn more. You don't hyphenate “image index” in most of the other places where you mention it. I don't care if you hyphenate it or not, but it's probably worth picking one way and staying consistent. There was a problem hiding this comment. Choose a reason for hiding this commentThe reason will be displayed to describe this comment to others. Learn more. prefer without |
||
|
||
[rfc1952]: https://tools.ietf.org/html/rfc1952 |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Is
org.opencontainers.ref.name
inannotations
valid for image index?There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
yes. Just like a file
./refs/stable
could be a descriptor of a manifest-list, this named reference points to a now image-index (previously manifest-list). I only changed this example to demo an image-index, rather than only a manifest.There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Got it, thanks!