Skip to content

Commit 790e2d3

Browse files
committed
image-layout.md: include example of a manifests list
Signed-off-by: Antonio Murdaca <[email protected]>
1 parent b0996ba commit 790e2d3

File tree

1 file changed

+19
-1
lines changed

1 file changed

+19
-1
lines changed

image-layout.md

Lines changed: 19 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -20,6 +20,7 @@ $ cd example.com/app/
2020
$ find .
2121
.
2222
./blobs
23+
./blobs/sha256-e692418e4cbaf90ca69d05a66403747baa33ee08806650b51fab815ad7fc331f
2324
./blobs/sha256-afff3924849e458c5ef237db5f89539274d5e609db5db935ed3959c90f1f2d51
2425
./blobs/sha256-5b0bcabd1ed22e9fb1310cf6c2dec7cdef19f0ad69efa1f392e94a4333501270
2526
./blobs/sha256-e692418e4cbaf90ca69d05a66403747baa33ee08806650b51fab815ad7fc331f
@@ -50,7 +51,24 @@ This illustrates the expected contents of a given ref, the manifest list it poin
5051

5152
```
5253
$ cat ./refs/v1.0
53-
{"size": 4096, "digest": "sha256:afff3924849e458c5ef237db5f89539274d5e609db5db935ed3959c90f1f2d51", "mediatype": "application/vnd.oci.image.manifest.v1+json"}
54+
{"size": 4096, "digest": "sha256:e692418e4cbaf90ca69d05a66403747baa33ee08806650b51fab815ad7fc331f", "mediatype": "application/vnd.oci.image.manifest.list.v1+json"}
55+
```
56+
```
57+
$ cat ./blobs/sha256-e692418e4cbaf90ca69d05a66403747baa33ee08806650b51fab815ad7fc331f
58+
{
59+
"schemaVersion": 2,
60+
"mediaType": "application/vnd.oci.image.manifest.list.v1+json",
61+
"manifests": [
62+
{
63+
"mediaType": "application/vnd.oci.image.manifest.v1+json",
64+
"size": 7143,
65+
"digest": "sha256:afff3924849e458c5ef237db5f89539274d5e609db5db935ed3959c90f1f2d51",
66+
"platform": {
67+
"architecture": "ppc64le",
68+
"os": "linux"
69+
}
70+
},
71+
...
5472
```
5573
```
5674
$ cat ./blobs/sha256-afff3924849e458c5ef237db5f89539274d5e609db5db935ed3959c90f1f2d51

0 commit comments

Comments
 (0)