buildkit icon indicating copy to clipboard operation
buildkit copied to clipboard

Support remote snapshotter through containerd-worker-snapshotter other than stargz

Open liulanzheng opened this issue 4 years ago • 2 comments

What is the problem you're trying to solve

As containerd remote snapshotter allows users to implement their own remote snapshotters. But in buildkit, only stargz is supported for some judgment is hardcode to 'stargz'. And also some labels needed by remote snapshotters are not passed or no method provided to pass to snapshotters apis.

Describe the solution you'd like

The most important is pass the basic labels like "containerd.io/snapshot.ref" to containerd-worker-snapshotter preprare api other than startgz and handle the response. It is better to provide a method that users can pass their own labels, like the image reference or layer annotations.

liulanzheng avatar May 12 '21 10:05 liulanzheng

It is better to perform as the cri snapshot annotations, which pass image ref and annotations to snapshotter.

liulanzheng avatar Aug 11 '21 03:08 liulanzheng

Is this still a current limitation?

antoinerg avatar Aug 17 '24 06:08 antoinerg