Docker Commands Cheatsheet

The everyday Docker commands, grouped and searchable — copy any one.

Ad placeholder (leaderboard)
Enjoying the tools? Go Pro for £4.99 (one-time) and remove all ads — forever, on this device. Remove ads — £4.99

Docker commands cheatsheet — searchable reference

The everyday Docker commands, grouped so you can find them fast: images, container lifecycle, inspect & debug, volumes & networks, Compose and cleanup. Each command has a short plain-English description and a one-click copy button — handy whether you are learning Docker or just need a quick reminder.

How it works

Commands are organised into six topic sections so related tasks sit together. Type a command name or a task — run, logs, compose, prune — into the search box, and the list filters to matching commands and descriptions as you type. Click Copy next to any command to put it on your clipboard, ready to paste into your terminal. Everything runs locally in your browser; nothing you search or copy is sent anywhere.

Example

Looking to run a web server in the background, then check on it:

TaskCommand
Run detached, map port 8080→80docker run -d -p 8080:80 nginx
List running containersdocker ps
Follow the logsdocker logs -f <container>
Open a shell inside itdocker exec -it <container> sh
Stop itdocker stop <container>
Reclaim disk spacedocker system prune -a

Search “prune” and you will surface the cleanup commands like docker system prune (remove stopped containers, unused networks and dangling images) and docker volume prune (remove unused volumes). Everything runs in your browser; nothing is uploaded.

Ad placeholder (rectangle)