uncategorized

Stop and Remove All Docker Containers

Sometimes it’s easier just to give up and start over ;)

Stop and remove all containers

docker stop $(docker ps -a -q)
docker rm $(docker ps -a -q)

Remove all images

docker rmi $(docker images -q)