Describe the bug

We pull over a Proxy: www.proxy.com/docker.io/library/redis:7.2.4-alpine

Runtime is containerd

Then we get 
failed commit on ref "index-sha256:641c365890fc79f182fb198c80ee807d040b9cfdb19cceb7f10c55a26 ││ 8d212b8": "index-sha256:641c365890fc79f182fb198c80ee807d040b9cfdb19cceb7f10c55a268d212b8" failed size validation: 8518 != 7223: failed precondition

Pulling this with

www.proxy.com/docker.io/library/redis:7.2.4-alpine@sha256:3487aa5cf06dceb38202b06bba45b6e6d8a92288848698a6518eee5f63a293a3

works fine

also www.proxy.com/docker.io/library/redis:7.2.4-alpine lokal in Docker Desktop works fine

To reproduce

running redis:7.2.4-alpine@sha256:641c365890fc79f182fb198c80ee807d040b9cfdb19cceb7f10c55a268d212b8 in ContainerD runtime

Expected behavior

Running redis:7.2.4-alpine@sha256:641c365890fc79f182fb198c80ee807d040b9cfdb19cceb7f10c55a268d212b8 in ContainerD

Comment From: teimyBr

https://github.com/containerd/containerd/issues/9830 maybe related

Comment From: teimyBr

The new redis:7.2.4-alpine docker.io fixed the issue