containerd / nerdctl

contaiNERD CTL - Docker-compatible CLI for containerd, with support for Compose, Rootless, eStargz, OCIcrypt, IPFS, ...
Apache License 2.0
7.86k stars 585 forks source link

image inspect reported size is different from docker #3018

Open apostasie opened 3 months ago

apostasie commented 3 months ago

Description

Title says all

Steps to reproduce the issue

docker image inspect vs . nerdctl image inspect

Describe the results you received and expected

Reported size are different.

What version of nerdctl are you using?

1.7.6

Are you using a variant of nerdctl? (e.g., Rancher Desktop)

None

Host information

No response

AkihiroSuda commented 3 months ago

If we can analyze the cause of the difference and document it, I guess we can just call it a day

apostasie commented 3 months ago

If we can analyze the cause of the difference and document it, I guess we can just call it a day

Sounds fair to me. Wondering if one is compressed size vs uncompressed. Will have a look.