docker image prune docker container prune
docker rmi $(docker images --quiet --filter "dangling=true")
docker images --quiet --filter=dangling=true | xargs --no-run-if-empty docker rmi
forcing: docker images --quiet --filter=dangling=true | xargs --no-run-if-empty docker rmi -f