docker remove unnamed images code example
Example 1: docker for mac remove unnamed images
docker rmi $(docker images | grep "^<none>" | awk "{print $3}")
Example 2: delete docker image repository none
docker rmi $(docker images -f “dangling=true” -q)