Skip to main content

Docker System Events

Get real-time events logged by the Docker server. All changes made to containers or networks are captured here.
docker system events --since 60m
docker system events --since 2024-05-30
docker system events --filter '<key>=<value>'
docker system events --filter 'container=588a23dac085'

Disk Usage Metrics

Displays the actual size of the different objects managed by Docker.
docker system df
docker system df -v  # verbose output

Copy Files

Ensure the destination directory exists on both sides before copying. You can also copy entire directories.
docker container cp <local-path> <container>:<container-path>

# Example
docker container cp /home/username/config.yaml apiapp:/etc/api/config.yaml

Build docs developers (and LLMs) love