- kill all running containers
docker kill $(docker ps -q)
- delete all stopped containers
docker rm $(docker ps -a -q)
- delete all images
docker rmi $(docker images -q)
docker kill $(docker ps -q)
docker rm $(docker ps -a -q)
docker rmi $(docker images -q)