Share feedback
Answers are generated based on the documentation.

sbx df

DescriptionShow runtime disk usage
Usagesbx df [flags]

Description

Show disk usage for local images, containers, and managed volumes.

Image totals include stored blobs and snapshots, count shared layers once, and include retained data without tags. Active images and volumes are referenced by a container, including stopped containers. Active containers are running or paused.

Reclaimable space is an estimate for removing unused resources of each type, not the space that "sbx prune" alone removes. Detached writable layers are included in the container total. Shared filesystem blocks, leases, and concurrent activity can reduce or delay space recovered. Host bind mounts, logs, and caches are excluded. Unavailable measurements show as unknown. Cloud disk usage is not supported.

Options

OptionDefaultDescription
--formatOutput format: table, json or yaml
--jsonOutput in JSON format
-v, --verboseShow individual images, containers, and volumes

Global options

OptionDefaultDescription
--cloudDispatch to Docker Cloud Sandboxes API instead of local sandboxd (supported by a growing set of verbs — run 'sbx --cloud --help' for the current list)
-D, --debugEnable debug logging
--no-inputNever prompt; commands that need an answer fail with the command to run instead

Examples

# Show a disk usage summary
sbx df

# Show individual images, containers, and volumes
sbx df --verbose

# Output in JSON format
sbx df --format json