containerd / accelerated-container-image

A production-ready remote container image format (overlaybd) and snapshotter based on block-device.
Apache License 2.0
405 stars 73 forks source link

Import zdfs package to support a tricky OCIv1 tgz format #273

Closed BigVan closed 5 months ago

BigVan commented 5 months ago

What this PR does / why we need it: Add zdfs package import. Packing the reference files of the overlaybd blob into the layer of the OCIv1 image; This enables the old version of containerd or other runtime (such as docker) to run overlaybd image

reference files like:

ls /var/lib/containerd/io.containerd.snapshotter.v1.overlaybd/snapshots/283/fs -a
.aaaaaaaaaaaaaaaa.lsmt  .checksum_file  .data_size  .oss_url  .type

# .oss_url is the overlaybd blob uploaded address in remote storage
# .data_size is the blobSize record in the annotation of overlaybd image manifest.
# other files can be empty

Which issue(s) this PR fixes (optional, in fixes #<issue number>(, fixes #<issue_number>, ...) format, will close the issue(s) when PR gets merged): Fixes #

Please check the following list:

liulanzheng commented 5 months ago

LGTM @WaberZhuang cc