LinuxCommandLibrary

docker-system

Manage Docker data and display system-wide information.

TLDR

Display help

$ docker system
copy


Show Docker disk usage
$ docker system df
copy


Show detailed information on disk usage
$ docker system df --verbose
copy


Remove unused data
$ docker system prune
copy


Remove unused data created more than a specified amount of time in the past
$ docker system prune --filter "until=[hours]h[minutes]m"
copy


Display real-time events from the Docker daemon
$ docker system events
copy


Display real-time events from containers streamed as valid JSON Lines
$ docker system events --filter 'type=container' --format '[json .]'
copy


Display system-wide information
$ docker system info
copy

SYNOPSIS

docker system

DESCRIPTION

Manage Docker

OPTIONS

-h, --help[=false] help for system

SEE ALSO

docker(1), docker-system-df(1), docker-system-events(1), docker-system-info(1), docker-system-prune(1)

Copied to clipboard