diff --git a/config.md b/config.md index a5dccebd4..d7efb2a12 100644 --- a/config.md +++ b/config.md @@ -4,6 +4,7 @@ An OCI *Image* is an ordered collection of root filesystem changes and the corre This specification outlines the JSON format describing images for use with a container runtime and execution tool and its relationship to filesystem changesets, described in [Layers](layer.md). This section defines the `application/vnd.oci.image.config.v1+json` [media type](media-types.md). +Implementations unpacking this type MUST generate a [version 1.0.0-rc2 runtime-spec configuration][runtime-config]. ## Terminology @@ -232,4 +233,5 @@ Here is an example image configuration JSON document: } ``` +[runtime-config]: https://github.com/opencontainers/runtime-spec/blob/v1.0.0-rc2/config.md [runtime-platform]: https://github.com/opencontainers/runtime-spec/blob/v1.0.0-rc2/config.md#platform diff --git a/manifest.md b/manifest.md index 900162b08..daecdad2a 100644 --- a/manifest.md +++ b/manifest.md @@ -28,6 +28,7 @@ Unlike the [Manifest List](manifest-list.md), which contains information about a - **`config`** *[descriptor](descriptor.md)* This REQUIRED property references a configuration object for a container, by digest. + Implementations unpacking manifests MUST generate a [`config.json`][bundle-format] from the referenced configuration. Beyond the [descriptor requirements](descriptor.md#properties), the value has the following additional restrictions: - **`mediaType`** *string* @@ -118,3 +119,5 @@ This specification defines the following annotation keys, which MAY be used by m * **org.opencontainers.authors** contact details of the people or organization responsible for the image (freeform string) * **org.opencontainers.homepage** URL to find more information on the image (string, must be a URL with scheme HTTP or HTTPS) * **org.opencontainers.documentation** URL to get documentation on the image (string, must be a URL with scheme HTTP or HTTPS) + +[bundle-format]: https://github.com/opencontainers/runtime-spec/blob/v1.0.0-rc2/bundle.md#container-format