Random Code Snippets
If you want to delete all of the docker images by iterating through the list of image IDs:
docker rmi $(docker images -q)
or
docker image ls --format "{{.ID}}" | xargs -r docker image rmi
If you want to delete all of the docker images by iterating through the list of image IDs:
docker rmi $(docker images -q)
or
docker image ls --format "{{.ID}}" | xargs -r docker image rmi