#1402 added stargz snapshotter for the test image, but the moby/buildkit image on Docker Hub still lacks stargz plugin.
We can consider four options to add stargz plugin to the moby/buildkit image:
- Option 1: Embed the Go package of stargz plugin into buildkitd
- Option 2: Add stargz plugin as a shared library plugin (
.so)
- Option 3: Spawn
containerd-stargz-grpc process from buildkitd
- Option 4: Spawn
containerd-stargz-grpc process from a supervisor daemon like supervisord
I prefer Option 1 or 2.
cc @ktock @tonistiigi
#1402 added stargz snapshotter for the test image, but the
moby/buildkitimage on Docker Hub still lacks stargz plugin.We can consider four options to add stargz plugin to the
moby/buildkitimage:.so)containerd-stargz-grpcprocess from buildkitdcontainerd-stargz-grpcprocess from a supervisor daemon likesupervisordI prefer Option 1 or 2.
cc @ktock @tonistiigi