how to uninstall docker image code example
Example 1: docker remove all images
docker rmi $(docker images -a -q)
Example 2: docker remove exited containers
(docker ps -a |findstr Exited) | foreach-object {docker rm $_.split(" ")[-1]}
docker rmi $(docker images -a -q)
(docker ps -a |findstr Exited) | foreach-object {docker rm $_.split(" ")[-1]}