to list all images that contain a substring in the name
docker images --format ':' | grep 'nginx'
docker rmi $(docker images --format ':' | grep 'nginx')
Currently the above only works in WSL Shell, as powershell does not recognize grep, and cmder gets confused by the $ expansion