forked from TrueCloudLab/distribution
Merge pull request #1005 from xiekeyang/spec
add description to manifest spec
This commit is contained in:
commit
618ffe118b
1 changed files with 6 additions and 2 deletions
|
@ -55,18 +55,22 @@ Manifest provides the base accessible fields for working with V2 image format
|
||||||
|
|
||||||
- **`history`** *array*
|
- **`history`** *array*
|
||||||
|
|
||||||
history is a list of unstructured historical data for v1 compatibility.
|
history is a list of unstructured historical data for v1 compatibility. It
|
||||||
|
contains ID of the image layer and ID of the layer's parent layers.
|
||||||
|
|
||||||
history is a struct consisting of the following fields
|
history is a struct consisting of the following fields
|
||||||
- **`v1Compatibility`** string
|
- **`v1Compatibility`** string
|
||||||
|
|
||||||
V1Compatibility is the raw V1 compatibility information. This will
|
V1Compatibility is the raw V1 compatibility information. This will
|
||||||
contain the JSON object describing the V1 of this image.
|
contain the JSON object describing the V1 of this image.
|
||||||
|
|
||||||
- **`schemaVersion`** *int*
|
- **`schemaVersion`** *int*
|
||||||
|
|
||||||
SchemaVersion is the image manifest schema that this image follows.
|
SchemaVersion is the image manifest schema that this image follows.
|
||||||
|
|
||||||
|
>**Note**:the length of `history` must be equal to the length of `fsLayers` and
|
||||||
|
>entries in each are correlated by index.
|
||||||
|
|
||||||
## Signed Manifests
|
## Signed Manifests
|
||||||
|
|
||||||
Signed manifests provides an envelope for a signed image manifest. A signed
|
Signed manifests provides an envelope for a signed image manifest. A signed
|
||||||
|
|
Loading…
Reference in a new issue