docker remove all none images code example
Example 1: remove all images docker
docker rmi $(docker images -a -q)
Example 2: docker remove images without tag
docker rmi $(docker images --filter "dangling=true" -q --no-trunc)
Example 3: docker remove all images
docker rmi $(docker images -a -q)
Example 4: docker remove none images
docker image prune --filter="dangling=true"
Example 5: delete docker image repository none
docker rmi $(docker images -f “dangling=true” -q)