Docker cheat sheet List all running and stopped containers docker ps -a List all running containers (just stating the obvious and also example use of -f filtering option) docker ps -a -f status=running List all running and stopped containers, showing only their container id docker ps -aq Remove all containers that are NOT running docker rm `docker ps -aq -f status=exited` link volumes with other containers by adding the --volumes-from [name] option docker run --rm -ti --volumes-from container_data ubuntu /bin/bash Volumes List containers running and the attached volumes size docker system df -v