Commands Cheat Sheet

Evaluating engineering tools? Get the comparison in Google Sheets

(Perfect for making buy/build decisions or internal reviews.)

Most-used commands
Your email is safe thing.

Thankyou for your submission

We have sent the cheatsheet on your email!
Oops! Something went wrong while submitting the form.

Docker Engine Information

docker info
Display system-wide information about Docker

docker version
Show the Docker version information

docker system df
Show docker disk usage

Container Operations

docker ps
List running containers

docker ps -a
List all containers (running and stopped)

docker inspect [container]
Display detailed information on container

docker stats [container]
Display a live stream of container resource usage statistics

docker top [container]
Display the running processes of a container

docker logs [container]
Fetch the logs of a container

docker logs -f [container]
Stream container logs

Resource Monitoring

docker stats
Display a live stream of container(s) resource usage statistics

docker events
Get real-time events from the server

docker system events
Get real-time events from the server

Disk Usage

docker system df
Show docker disk usage

docker system df -v
Show detailed docker disk usage

Network Operations

docker network ls
List networks

docker network inspect [network]
Display detailed information on network

Volume Operations

docker volume ls
List volumes

docker volume inspect [volume]
Display detailed information on volume

Image Operations

docker images
List images

docker image ls
List images

docker history [image]
Show the history of an image

System Maintenance

docker system prune
Remove unused data

docker system prune -a
Remove all unused data including unused images