how to remove unwanted docker images code example
Example 1: docker delete images without tag
docker rmi $(docker images -a|grep "<none>"|awk '$1=="<none>" {print $3}')
Example 2: delete docker containers
docker container rm [container id]
docker rmi $(docker images -a|grep "<none>"|awk '$1=="<none>" {print $3}')
docker container rm [container id]