Skip to content

Docker

Container Management

Delete all containers

docker rm -vf $(docker ps -aq)

Remove dangling(unused) images

docker image prune -a

Delete All Images

docker rmi -f $(docker images -aq)

Docker Prune (delete all resources)

docker system prune -a --volumes