$ 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
}
}
$ container image tag alpine:latest local/alpine:issue-repro
local/alpine:issue-repro
$ container system df --format json
{
"containers" : {
"active" : 0,
"reclaimable" : 0,
"sizeInBytes" : 0,
"total" : 0
},
"images" : {
"active" : 0,
"reclaimable" : 157458432,
"sizeInBytes" : 157458432,
"total" : 2
},
"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
$ du -sk "/Users/ras/Downloads/test_container/audit_artifacts/container-issue-repros-20260511-101939/app-root/snapshots"
76884 /Users/ras/Downloads/test_container/audit_artifacts/container-issue-repros-20260511-101939/app-root/snapshots
Adding a second tag for the same image doubles the reported image size and reclaimable bytes even though no additional storage is created. system df should count unique image storage, not tags/references.
- OS: macOS 26.4.1 (25E253)
- Xcode: Xcode 26.4.1 (17E202)
- Container: container CLI 0.12.3 (build: release, commit: f989901)
I have done the following
Steps to reproduce
Pull one image, tag it, and compare
system dfbefore and after the tag:Problem description
Adding a second tag for the same image doubles the reported image size and reclaimable bytes even though no additional storage is created.
system dfshould count unique image storage, not tags/references.Environment
Code of Conduct