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

convertor: support reference API #294

Closed WaberZhuang closed 2 months ago

WaberZhuang commented 2 months ago

What this PR does / why we need it: Add option --referrer so that the converted image will be referenced to the original image through Referrers API. The artifact type for overlaybd and turboOCIv1 is application/vnd.containerd.overlaybd.native.v1+json and application/vnd.containerd.overlaybd.turbo.v1+json respectively.

Please see the changes in USERSPACE_CONVERTOR document for more details.

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 2 months ago

change alibaba.overlaybd to containerd.overlaybd?

WaberZhuang commented 2 months ago

change alibaba.overlaybd to containerd.overlaybd?

Already updated as suggested, and since this repository is a containerd subproject, it does make more sense to use containerd.overlaybd.