Skip to content

Commit bccd72a

Browse files
authored
Merge pull request #483 from jonboulle/master
layer: wordsmith non-distributable section
2 parents 9c9448f + a258a17 commit bccd72a

File tree

1 file changed

+6
-5
lines changed

1 file changed

+6
-5
lines changed

layer.md

Lines changed: 6 additions & 5 deletions
Original file line numberDiff line numberDiff line change
@@ -308,12 +308,13 @@ Any given image is likely to be composed of several of these Image Filesystem Ch
308308

309309
# Non-Distributable Layers
310310

311-
Certain layers, due to legal requirements, may not be regularly distributable.
312-
Typically, such layers are downloaded directly from a distributor but are never uploaded.
311+
Due to legal requirements, certain layers may not be regularly distributable.
312+
Such "non-distributable" layers are typically downloaded directly from a distributor but never uploaded.
313313

314-
Layers that have these restrictions SHOULD be tagged with an alternative mediatype of `application/vnd.oci.image.layer.nondistributable.v1.tar+gzip`.
315-
[Descriptors](descriptor.md) referencing these layers MAY include `urls` for downloading these layers.
316-
It is implementation-defined whether or not implementations upload layers tagged with this media type.
314+
Non-distributable layers SHOULD be tagged with an alternative mediatype of `application/vnd.oci.image.layer.nondistributable.v1.tar+gzip`.
315+
Implementations SHOULD NOT upload layers tagged with this media type; however, such a media type SHOULD NOT affect whether an implementation downloads the layer.
316+
317+
[Descriptors](descriptor.md) referencing non-distributable layers MAY include `urls` for downloading these layers directly; however, the presence of the `urls` field SHOULD NOT be used to determine whether or not a layer is non-distributable.
317318

318319
[libarchive-tar]: https://github.com/libarchive/libarchive/wiki/ManPageTar5#POSIX_ustar_Archives
319320
[gnu-tar-standard]: http://www.gnu.org/software/tar/manual/html_node/Standard.html

0 commit comments

Comments
 (0)