Show Menu
Cheatography

Docker Cheat Sheet (DRAFT) by

This is a draft cheat sheet. It is a work in progress and is not finished yet.

docker­-co­mpose

docker­-co­mpose up
run all containers
docker­-co­mpose exec <se­rvi­ce> <cm­d>
execute commands on the container
docker­-co­mpose down <se­rvi­ce>
stop all containers

Remove

Remove containers
docker container prune
Remove volumes
docker container prune
Remove images
docker image prune
Remove all of the above
docker system prune