diff options
author | Radostin Stoyanov <rstoyanov1@gmail.com> | 2017-07-21 13:13:19 +0100 |
---|---|---|
committer | Radostin Stoyanov <rstoyanov1@gmail.com> | 2017-07-21 13:31:26 +0100 |
commit | 2762d815643754bc4f5b4a922989fc1acf5ea5b6 (patch) | |
tree | 8124fcb86d7a2cdf10c82dad77f27a8402f26a3e /src/virtBootstrap/virt_bootstrap.py | |
parent | 648965c97c82d1aee45de696bba5eec19aa722e4 (diff) | |
download | virt-bootstrap.git-2762d815643754bc4f5b4a922989fc1acf5ea5b6.tar.gz virt-bootstrap.git-2762d815643754bc4f5b4a922989fc1acf5ea5b6.tar.xz virt-bootstrap.git-2762d815643754bc4f5b4a922989fc1acf5ea5b6.zip |
DockerSource: Add support for Manifest version 1
Handle differences between version 1 and 2 of the Manifest file for
Docker registry.
Layers' blob sums in v1 are stored in a list "fsLayers" and the digest
is stored in following filed with name "blobSum". [1]
In v2 the layer list is stored in field with name "layers" and
ordered starting from the base image (opposite order of v1). The digest
is stored under a following field with name "digest". The size in bytes
is included in a field with name "size". [2]
[1] https://docs.docker.com/registry/spec/manifest-v2-1/#manifest-field-descriptions
[2] https://docs.docker.com/registry/spec/manifest-v2-2/#image-manifest-field-descriptions
Diffstat (limited to 'src/virtBootstrap/virt_bootstrap.py')
0 files changed, 0 insertions, 0 deletions