You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
{{ message }}
Repository navigation
[Bug]: Image size vs reclaimed space discrepancy #709
If possible, I've reproduced the issue using the 'main' branch of this project
Steps to reproduce
Pull or build an image
List images with verbose flag to see image size
Delete the image and reclaimed space will always be a lot more than the image size displayed in step 2
Current behavior
Listing images shows the image size as ~110MB
$ container image ls -v
NAME TAG INDEX DIGEST OS ARCH SIZE
swift-demo 01 b130ac661a8a0488059ac4e6... linux arm64 110.7 MB
Deleting the image reclaims more space than the size of the image (reclaimed 446MB when the image was listed as only 110MB)
$ container image rm swift-demo:01
swift-demo:01
Reclaimed 446.4 MB in disk space
Expected behavior
I would expect the reclaimed space to match the size of the image (as per container image ls -v) or at least be similar. Even if the value displayed in container image ls is compressed or something different, it's confusing that the two numbers are so different.
Activity