Docker Cheatsheet
Cheatsheethttps://www.deployhq.com/cheatsheets/docker-cheatsheet
tail logs docker exec -it api sh # shell into running container docker stop … # force kill + remove docker restart api # in-place restart docker stats … prune ``` ### Docker Compose ```bash docker compose up -d # start in … If your image needs Python for a build script, that goes in `build`, never `runtime`. … The fix is two tags per build: an immutable SHA-pinned tag and a moving `latest`/`stable` pointer.
Updated 4th May 2026