docker rmi $(docker images -q -f dangling=true)
Category: Docker
docker rmi $(docker images -q -f dangling=true)
Remove all dangling (untagged) images
Removes all dangling images — images that aren't tagged and aren't used by any container. Good for freeing space.