Skip to content

Commit 2fb9968

Browse files
authored
Merge pull request #965 from imjasonh/foreign
Deprecate non-distributable layers
2 parents 188d3a4 + ccb86b9 commit 2fb9968

File tree

2 files changed

+8
-2
lines changed

2 files changed

+8
-2
lines changed

layer.md

Lines changed: 3 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -324,6 +324,9 @@ Any given image is likely to be composed of several of these Image Filesystem Ch
324324

325325
# Non-Distributable Layers
326326

327+
> **NOTE**: Non-distributable layers are deprecated, and not recommended for future use.
328+
> Implementations SHOULD NOT produce new non-distributable layers.
329+
327330
Due to legal requirements, certain layers may not be regularly distributable.
328331
Such "non-distributable" layers are typically downloaded directly from a distributor but never uploaded.
329332

media-types.md

Lines changed: 5 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -10,10 +10,13 @@ The following media types identify the formats described here and their referenc
1010
- `application/vnd.oci.image.layer.v1.tar`: ["Layer", as a tar archive](layer.md)
1111
- `application/vnd.oci.image.layer.v1.tar+gzip`: ["Layer", as a tar archive](layer.md#gzip-media-types) compressed with [gzip][rfc1952]
1212
- `application/vnd.oci.image.layer.v1.tar+zstd`: ["Layer", as a tar archive](layer.md#zstd-media-types) compressed with [zstd][rfc8478]
13-
- `application/vnd.oci.image.layer.nondistributable.v1.tar`: ["Layer", as a tar archive with distribution restrictions](layer.md#non-distributable-layers)
13+
- `application/vnd.oci.artifact.manifest.v1+json`: [Artifact manifest](artifact.md)
14+
15+
The following media types identify a ["Layer" with distribution restrictions](layer.md#non-distributable-layers), but are **deprecated** and not recommended for future use:
16+
17+
- `application/vnd.oci.image.layer.nondistributable.v1.tar`: "Layer", as a tar archive
1418
- `application/vnd.oci.image.layer.nondistributable.v1.tar+gzip`: ["Layer", as a tar archive with distribution restrictions](layer.md#gzip-media-types) compressed with [gzip][rfc1952]
1519
- `application/vnd.oci.image.layer.nondistributable.v1.tar+zstd`: ["Layer", as a tar archive with distribution restrictions](layer.md#zstd-media-types) compressed with [zstd][rfc8478]
16-
- `application/vnd.oci.artifact.manifest.v1+json`: [Artifact manifest](artifact.md)
1720

1821
## Media Type Conflicts
1922

0 commit comments

Comments
 (0)