containerd / accelerated-container-image

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

Support digest for input image in userspace converter #284

Closed tianouya-db closed 1 month ago

tianouya-db commented 6 months ago

What is the version of your Accelerated Container Image

1.0.2

What would you like to be added?

The userspace converter requires an --input-tag to identify the image the convert (USERSPACE_CONVERTOR.md). Is it possible to use the digest to identify the input image? This can be supported as an alternative to --input-tag.

-i, --input-tag string          tag for image converting from (required)

Why is this needed for Accelerated Container Image?

  1. A tag can be volatile
  2. Sometimes the client has access to the digest but not the tags on the image to convert

Supporting a digest parameter would be an enhancement.

Are you willing to submit PRs to contribute to this feature?