docker remove images with no tag code example
Example 1: docker for mac remove unnamed images
docker rmi $(docker images | grep "^<none>" | awk "{print $3}")
Example 2: docker delete images without tag
docker rmi $(docker images -a|grep "<none>"|awk '$1=="<none>" {print $3}')