Cleaning after doF*&r Nov 1, 2017 # kill all running docker containers $ docker kill $(docker ps -q) # remove all containers $ docker rm $(docker ps -aq) # remove all images $ docker rmi $(docker images -q) # remove unused volumes $ docker volume rm $(docker volume ls -qf dangling=true) # clean network interfaces $ docker network rm $(docker network ls | awk '$3 == "bridge" && $2 != "bridge" { print $1 }')