how to remove docker images all code example
Example 1: docker remove images without tag
docker rmi $(docker images --filter "dangling=true" -q --no-trunc)
Example 2: docker delete all images
docker system prune
docker rmi $(docker images --filter "dangling=true" -q --no-trunc)
docker system prune