Skip to content

Commit

Permalink
Merge pull request #434 from vbatts/image-layout_oci-layout_clarifica…
Browse files Browse the repository at this point in the history
…tion

image-layout: clarification of oci-layout
  • Loading branch information
jonboulle authored Dec 7, 2016
2 parents 5944e2a + 9c333aa commit 656fb2f
Showing 1 changed file with 5 additions and 2 deletions.
7 changes: 5 additions & 2 deletions image-layout.md
Original file line number Diff line number Diff line change
Expand Up @@ -18,9 +18,12 @@ The image layout MUST contain two top level directories:

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

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

- `oci-layout` MUST contain a JSON object with a version field `{"imageLayoutVersion": "1.0.0"}` and MAY include additional fields.
- It MUST be a JSON object
- It MUST contain an `imageLayoutVersion` field
- 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
- It MAY include additional fields

This is an example image layout:

Expand Down

0 comments on commit 656fb2f

Please sign in to comment.