I have done the following
Steps to reproduce
Use a clean app root, pull a single-platform image, then compare system df with the image content store:
$ container image pull --platform linux/arm64 --progress plain alpine:latest
[1/2] Fetching image [0s]
[1/2] Fetching image [1s]
[1/2] Fetching image 53% (3 of 4 blobs, 2.2/4.0 MB, 8 KB/s) [2s]
[2/2] Unpacking image [2s]
[2/2] Unpacking image for platform linux/arm64/v8 [2s]
[2/2] Unpacking image for platform linux/arm64/v8 100% (514 entries, 8.3 MB) [2s]
$ container system df --format json
{
"containers" : {
"active" : 0,
"reclaimable" : 0,
"sizeInBytes" : 0,
"total" : 0
},
"images" : {
"active" : 0,
"reclaimable" : 78729216,
"sizeInBytes" : 78729216,
"total" : 1
},
"volumes" : {
"active" : 0,
"reclaimable" : 0,
"sizeInBytes" : 0,
"total" : 0
}
}
$ du -sk "/Users/ras/Downloads/test_container/audit_artifacts/container-issue-repros-20260511-101939/app-root/content/blobs/sha256"
4124 /Users/ras/Downloads/test_container/audit_artifacts/container-issue-repros-20260511-101939/app-root/content/blobs/sha256
Problem description
system df reports image size and reclaimable bytes without counting image content blobs. Those blobs are image-managed storage and are reclaimed during image cleanup. system df should include blob storage in image size/reclaimable bytes, or explicitly label the current value as unpacked snapshot storage only.
Environment
- OS: macOS 26.4.1 (25E253)
- Xcode: Xcode 26.4.1 (17E202)
- Container: container CLI 0.12.3 (build: release, commit: f989901)
Code of Conduct
I have done the following
Steps to reproduce
Use a clean app root, pull a single-platform image, then compare
system dfwith the image content store:Problem description
system dfreports image size and reclaimable bytes without counting image content blobs. Those blobs are image-managed storage and are reclaimed during image cleanup.system dfshould include blob storage in image size/reclaimable bytes, or explicitly label the current value as unpacked snapshot storage only.Environment
Code of Conduct