#
Docker
In
#
remove all stopped containers
docker ps -a -q -f status=exited | xargs docker rm
#
remove all dangling images
docker images -f "dangling=true" -q | xargs docker rmi
#
remove unused volumes
Please be extra cautious, since you could loose precious data!
docker volume prune