diff --git a/pkg/server/image_pull.go b/pkg/server/image_pull.go index cb71b6778..db6ec46ec 100644 --- a/pkg/server/image_pull.go +++ b/pkg/server/image_pull.go @@ -105,6 +105,7 @@ func (c *criService) PullImage(ctx context.Context, r *runtime.PullImageRequest) containerd.WithResolver(resolver), containerd.WithPullSnapshotter(c.config.ContainerdConfig.Snapshotter), containerd.WithPullUnpack, + containerd.WithPullLabel(imageLabelKey, imageLabelValue), ) if err != nil { return nil, errors.Wrapf(err, "failed to pull and unpack image %q", ref)