Skip to content

Commit 6b9e81b

Browse files
layer: clarify that urls does not imply non-dist
Signed-off-by: Jonathan Boulle <[email protected]>
1 parent e42fadd commit 6b9e81b

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

layer.md

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -314,7 +314,7 @@ Such "non-distributable" layers are typically downloaded directly from a distrib
314314
Non-distributable layers SHOULD be tagged with an alternative mediatype of `application/vnd.oci.image.layer.nondistributable.v1.tar+gzip`.
315315
Implementations SHOULD NOT upload layers tagged with this media type; however, such a media type SHOULD NOT affect whether an implementation downloads the layer.
316316

317-
[Descriptors](descriptor.md) referencing non-distributable layers MAY include `urls` for downloading these layers directly.
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.
318318

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

0 commit comments

Comments
 (0)