clean all the images in docker code example
Example 1: remove all images docker
docker rmi $(docker images -a -q)
Example 2: docker dangling images
docker images -f dangling=true
docker rmi $(docker images -a -q)
docker images -f dangling=true