Forum Navigation
You need to log in to create posts and topics.

Remove all docker images and containers


User wants to remove all docker images and containers


Stop all running containers

docker stop $(docker ps -aq)

Kill All Running containers

docker kill $(docker ps -q)

Delete all containers

docker rm $(docker ps -a -q)

Delete all images

docker rmi $(docker images -q)


If you still getting errors while deleting -f ( force )

docker rmi -f $(docker images -q)

Remove Docker volumes to free space

docker volume prune -f




If you have found my website, guides, articles or videos useful, please buy me a coffee