docker images prune none code example
Example: docker delete images without tag
docker rmi $(docker images -a|grep "<none>"|awk '$1=="<none>" {print $3}')
docker rmi $(docker images -a|grep "<none>"|awk '$1=="<none>" {print $3}')