Docker Command Cheatsheet
About this tool
Image, container, and network flags blur together. Find a command by task, then run it in your terminal. Confirm names before deletes.
Features
- Images, containers, networks, Compose
- Common commands, not the full man pages
- A lookup when you are stuck
How to use
- Search or browse by section.
- Copy the command.
- Run docker ps / images before destructive flags.
When to use it
- Forgot how to list running containers
- Remove dangling images
- Compose up/down is rusty
Examples
- docker ps -a lists exited containers too.
- docker compose up -d starts the project in the background.
FAQ
Every subcommand?
No. High-frequency tasks only. See Docker docs for the rest.
Compose v1 or v2?
Examples follow the docker compose plugin.
Back to DevOps Tools Hub