Skip to content

Commit 656fb2f

Browse files
authored
Merge pull request #434 from vbatts/image-layout_oci-layout_clarification
image-layout: clarification of oci-layout
2 parents 5944e2a + 9c333aa commit 656fb2f

File tree

1 file changed

+5
-2
lines changed

1 file changed

+5
-2
lines changed

image-layout.md

Lines changed: 5 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -18,9 +18,12 @@ The image layout MUST contain two top level directories:
1818

1919
Both `blobs` and `refs` MAY be empty.
2020

21-
The image layout MUST also contain a file that is used to identify the layout version:
21+
The image layout MUST also contain an `oci-layout` file:
2222

23-
- `oci-layout` MUST contain a JSON object with a version field `{"imageLayoutVersion": "1.0.0"}` and MAY include additional fields.
23+
- It MUST be a JSON object
24+
- It MUST contain an `imageLayoutVersion` field
25+
- The `imageLayoutVersion` value will align with the OCI Image Specification version at the time changes to the layout are made, and will pin a given version until changes to the layout are required
26+
- It MAY include additional fields
2427

2528
This is an example image layout:
2629

0 commit comments

Comments
 (0)