commands.sh

docker system

all

Manage Docker data and display system-wide information.

More info →

Options (3)

-v, --verboseboolean

Show detailed information on disk usage

Example: docker system df {{[-v|--verbose]}}
-a, --allboolean

Remove all unused data

Example: docker system prune {{[-a|--all]}} --volumes
-f, --filterboolean

Display real-time events from containers streamed as valid JSON Lines

Example: docker system events {{[-f|--filter]}} 'type=container' --format '{{json .}}'

Examples (8)

Show Docker disk usage

Show detailed information on disk usage

docker system df [-v|--verbose]

Remove unused data (append `--volumes` to remove unused volumes as well)

Remove unused data created more than a specified amount of time in the past

docker system prune --filter "until=hourshminutesm"

Remove all unused data

docker system prune [-a|--all] --volumes

Display real-time events from the Docker daemon

Display real-time events from containers streamed as valid JSON Lines

docker system events [-f|--filter] 'type=container' --format 'json .'

Display system-wide information

made by @shridhargupta | data from tldr-pages