Options (3)
-v, --verbosebooleanShow detailed information on disk usage
Example:
docker system df {{[-v|--verbose]}}-a, --allbooleanRemove all unused data
Example:
docker system prune {{[-a|--all]}} --volumes-f, --filterbooleanDisplay 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)
docker system pruneRemove 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] --volumesDisplay real-time events from the Docker daemon
docker system eventsDisplay 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