From bc78dccae3de7fc551501adc6f523d8bc7380af6 Mon Sep 17 00:00:00 2001 From: zhouhao Date: Thu, 3 Nov 2016 17:14:31 +0800 Subject: [PATCH] descriptor.md: Add the urls attribute instance in the Examples Signed-off-by: zhouhao --- descriptor.md | 11 +++++++++++ 1 file changed, 11 insertions(+) diff --git a/descriptor.md b/descriptor.md index 6ac1b8229..0e8b41f5c 100644 --- a/descriptor.md +++ b/descriptor.md @@ -116,4 +116,15 @@ The following example describes a [_Manifest_](manifest.md#image-manifest) with "size": 7682, "digest": "sha256:5b0bcabd1ed22e9fb1310cf6c2dec7cdef19f0ad69efa1f392e94a4333501270" } + +In the following example, the descriptor indicates that the referenced manifest is retrievable from a particular URL: + +{ + "mediaType": "application/vnd.oci.image.manifest.v1+json", + "size": 7682, + "digest": "sha256:5b0bcabd1ed22e9fb1310cf6c2dec7cdef19f0ad69efa1f392e94a4333501270", + "urls": [ + "https://example.com/example-manifest" + ] +} ```