remove untagged images code example
Example 1: docker remove none images
docker image prune --filter="dangling=true"
Example 2: docker for mac remove unnamed images
docker rmi $(docker images | grep "^<none>" | awk "{print $3}")
docker image prune --filter="dangling=true"
docker rmi $(docker images | grep "^<none>" | awk "{print $3}")