diff --git a/daemon/containerd/image_pull.go b/daemon/containerd/image_pull.go index 1614f1081bc6a..88ef659f2d274 100644 --- a/daemon/containerd/image_pull.go +++ b/daemon/containerd/image_pull.go @@ -21,6 +21,7 @@ import ( "github.com/docker/docker/internal/compatcontext" "github.com/docker/docker/pkg/progress" "github.com/docker/docker/pkg/streamformatter" + "github.com/docker/docker/pkg/stringid" ocispec "github.com/opencontainers/image-spec/specs-go/v1" "github.com/pkg/errors" ) @@ -118,7 +119,8 @@ func (i *ImageService) pullTag(ctx context.Context, ref reference.Named, platfor sentSchema1Deprecation = true } if images.IsLayerType(desc.MediaType) { - progress.Update(out, desc.Digest.String(), "Pulling fs layer") + id := stringid.TruncateID(desc.Digest.String()) + progress.Update(out, id, "Pulling fs layer") } if images.IsManifestType(desc.MediaType) { if !sentPullingFrom {