remove docker not in repository code example
Example 1: remove all images docker
docker rmi $(docker images -a -q)
Example 2: docker delete all images
docker system prune
docker rmi $(docker images -a -q)
docker system prune