docker rmi $(docker images --format '{{.Repository}}:{{.Tag}}' | grep 'imagename')
For example, to delete all images that contains zulh
inside the name, run:
docker rmi $(docker images --format '{{.Repository}}:{{.Tag}}' | grep 'zulh')
docker rmi $(docker images --format '{{.Repository}}:{{.Tag}}' | grep 'imagename')
For example, to delete all images that contains zulh
inside the name, run:
docker rmi $(docker images --format '{{.Repository}}:{{.Tag}}' | grep 'zulh')