Cheatsheet Pages / Docker Cheatsheet

How to remove only stopped containers — docker container prune

You want the dead containers gone but images and running containers untouched.

docker container prune        # safe-ish: running containers are untouched
Docker Cheatsheet one-page card — commands that actually work
The full one-page card — Docker Cheatsheet. Get the complete cheatsheet on GitHub