diff --git a/daemon/containerd/image_list.go b/daemon/containerd/image_list.go index 600260a3fd6d3..b7fb926725a45 100644 --- a/daemon/containerd/image_list.go +++ b/daemon/containerd/image_list.go @@ -650,6 +650,11 @@ func computeSharedSize(chainIDs []digest.Digest, layers map[digest.Digest]int, s } size, err := sizeFn(chainID) if err != nil { + // Several images might share the same layer and neither of them + // might be unpacked (for example if it's a non-host platform). + if cerrdefs.IsNotFound(err) { + continue + } return 0, err } sharedSize += size