Uh oh!
There was an error while loading. Please reload this page.
Add container system df command for disk usage reporting - #902
Merged
realrajaryan merged 4 commits intoNov 20, 2025
Merged
Conversation
dcantah
reviewed
Nov 20, 2025
Uh oh!
There was an error while loading. Please reload this page.
dcantah
reviewed
Nov 20, 2025
Uh oh!
There was an error while loading. Please reload this page.
realrajaryanforce-pushed
the
users/realrajaryan/container-system-df
branch
from
November 20, 2025 01:37
258f3c7 to
f3dbd64Comparedcantah
approved these changes
Nov 20, 2025
realrajaryanforce-pushed
the
users/realrajaryan/container-system-df
branch
from
November 20, 2025 04:06
f3dbd64 to
cd4cd7dComparedcantah
approved these changes
Nov 20, 2025
Uh oh!
There was an error while loading. Please reload this page.
saehejkang pushed a commit
to saehejkang/container
that referenced
this pull request
Jan 27, 2026
- Closesapple#884. ## Type of Change - [ ] Bug fix - [x] New feature - [ ] Breaking change - [ ] Documentation update ## Motivation and Context This PR implements the `container system df` command to display disk usage statistics for images, containers, and volumes, along with their total count, active count, size, and reclaimable space for each resource type. Active resources are determined by container mount references and running state, while reclaimable space is calculated from inactive or stopped resources. Example output: ``` ~/container ❯ container system df TYPE TOTAL ACTIVE SIZE RECLAIMABLE Images 4 3 4.42 GB 516.5 MB (11%) Containers 4 2 2.69 GB 1.51 GB (56%) Local Volumes 3 2 208.5 MB 66.2 MB (32%) ``` I'll have some follow-on PRs that will add `-v/--verbose` flag for detailed per-resource information, `--filter` flag for filtering output by resource type, and a `--debug` flag for debug statistics like block usage, clone counts etc. ## Testing - [x] Tested locally - [x] Added/updated tests - [ ] Added/updated docs
This was referenced Aug 26, 2026
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Sign up for freeto join this conversation on GitHub.
Already have an account?
Sign in to comment
Add this suggestion to a batch that can be applied as a single commit.This suggestion is invalid because no changes were made to the code.Suggestions cannot be applied while the pull request is closed.Suggestions cannot be applied while viewing a subset of changes.Only one suggestion per line can be applied in a batch.Add this suggestion to a batch that can be applied as a single commit.Applying suggestions on deleted lines is not supported.You must change the existing code in this line in order to create a valid suggestion.Outdated suggestions cannot be applied.This suggestion has been applied or marked resolved.Suggestions cannot be applied from pending reviews.Suggestions cannot be applied on multi-line comments.Suggestions cannot be applied while the pull request is queued to merge.Suggestion cannot be applied right now. Please check back later.
container system dfcommand to show storage usage for images, containers, and volumes #884.Type of Change
Motivation and Context
This PR implements the
container system dfcommand to display disk usage statistics for images, containers, and volumes, along with their total count, active count, size, and reclaimable space for each resource type.Active resources are determined by container mount references and running state, while reclaimable space is calculated from inactive or stopped resources.
Example output:
I'll have some follow-on PRs that will add
-v/--verboseflag for detailed per-resource information,--filterflag for filtering output by resource type, and a--debugflag for debug statistics like block usage, clone counts etc.Testing