Skip to content

Commit

Permalink
manifest: Explicitly base manifest.layers on an empty directory
Browse files Browse the repository at this point in the history
And point out that layer authors interested in the ownership and other
attributes of the unpacked root directory should explicitly set an
entry for it.

I've used "match" instead of "be" to allow folks to apply via a union
filesystem or whatever. As long as the finished product is right,
compliance testers and users should be satisfied.

Signed-off-by: W. Trevor King <wking@tremily.us>
  • Loading branch information
wking committed Sep 16, 2016
1 parent 287772a commit 89131b7
Showing 1 changed file with 2 additions and 3 deletions.
5 changes: 2 additions & 3 deletions manifest.md
Original file line number Diff line number Diff line change
Expand Up @@ -140,9 +140,8 @@ Unlike the [Manifest List](#manifest-list), which contains information about a s
- **`layers`** *array*

Each item in the array MUST be a [descriptor](descriptor.md).
The array MUST have the base image at index 0.
Subsequent layers MUST then follow in the order in which they are to be layered on top of each other.
The algorithm to create the final unpacked filesystem layout MUST be to first unpack the layer at index 0, then index 1, and so on.
The root filesystem MUST match the result of [applying](layer.md#applying) the entries to an empty directory in the listed order.
The [ownership, mode, and other attributes](layer.md#file-attributes) of the initial empty directory are unspecified.

- **`annotations`** *string-string map*

Expand Down

0 comments on commit 89131b7

Please sign in to comment.