CmdID

CmdID / Commands

docker-system

Manage Docker data and display system-wide information. tldr-pages

On several platforms

Opens CmdID with your command. It is read in your browser and sent nowhere.

Several platforms

from tldr-pages, CC BY 4.0

Show Docker disk usage

docker system dfIdentify

Show detailed information on disk usage

docker system df --verboseIdentify
--verboseShow detailed information on space usage Docker CLI reference

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

docker system pruneIdentify

Remove 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 reference

Remove all unused data

docker system prune --all --volumesIdentify
--allRemove all unused images not just dangling ones Docker CLI reference
--volumesPrune anonymous volumes Docker CLI reference

Display real-time events from the Docker daemon

docker system eventsIdentify

Display 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 reference

Display system-wide information

docker system infoIdentify