lift disk

Show disk usage overview with Docker breakdown and manage disk cleanup operations.

lift disk

Show disk overview with Docker resource breakdown and manage disk cleanup. When run without a subcommand, displays disk usage, Docker system stats, and last cleanup info.

Options

FlagDescriptionDefault
--output jsonlOutput as JSONL for scripting-

Examples

# Show disk overview
lift disk

# JSON output for scripting
lift disk --output jsonl

Subcommands

lift disk cleanup

Run disk cleanup to free unused Docker resources. Normal mode removes stopped containers, dangling images, unused networks, and build cache. Force mode aggressively removes old image layers.

FlagDescriptionDefault
--forceAggressive cleanup: keep only 1 image per repofalse
--dry-runPreview what would be freed without making changesfalse
# Normal cleanup
lift disk cleanup

# Preview what would be freed
lift disk cleanup --dry-run

# Aggressive cleanup
lift disk cleanup --force

lift disk history

Show recent disk cleanup history from server logs.

lift disk history