From 449213840dbdbc60112cbfc5e50007172be374c4 Mon Sep 17 00:00:00 2001 From: Lei Jitang Date: Wed, 14 Sep 2016 05:42:13 -0400 Subject: [PATCH] An image may have emtpy layers array Signed-off-by: Lei Jitang --- manifest.md | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/manifest.md b/manifest.md index cfb84ea2c..ab1b8c581 100644 --- a/manifest.md +++ b/manifest.md @@ -139,7 +139,7 @@ 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). + This property MAY be empty, an image can have an empty 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.