docker-system
Manage Docker data and display system-wide information. tldr-pages
On several platforms
Several platforms
Show Docker disk usage
docker system dfIdentifyShow detailed information on disk usage
docker system df --verboseIdentify--verboseShow detailed information on space usage Docker CLI referenceRemove unused data (append --volumes to remove unused volumes as well)
docker system pruneIdentifyRemove unused data created more than a specified amount of time in the past
docker system prune --filter "until=hourshminutesm"Identify--filterProvide filter values (e.g. label==) Docker CLI referenceRemove all unused data
docker system prune --all --volumesIdentify--allRemove all unused images not just dangling ones Docker CLI reference--volumesPrune anonymous volumes Docker CLI referenceDisplay real-time events from the Docker daemon
docker system eventsIdentifyDisplay real-time events from containers streamed as valid JSON Lines
docker system events --filter 'type=container' --format '\{\{json .\}\}'Identify--filterFilter output based on conditions provided Docker CLI reference--formatFormat output using a custom template: 'json': Print in JSON format 'TEMPLATE': Print output using the given Go template. Docker CLI referenceDisplay system-wide information
docker system infoIdentify