This repo holds several files for my personal docker images. They are not maintained and from time to time adjusted to my needs.
# delete exited containers
docker rm $(docker ps -qa --no-trunc --filter "status=exited")
# delete untagged images
docker rmi $(docker images | grep "^<none>" | awk "{print $3}")
docker rmi $(docker images --filter "dangling=true" -q --no-trunc)