Docker cheat sheet

Stop all running containers:

docker kill $(docker ps -q)

Delete all images:

docker system prune -a

Remove all stopped containers:

docker rm $(docker ps -a -q)

Location of docker config files on Mac with Docker Desktop is: ~/.docker