EN
Docker - remove images by tag name
3 points
Quick solution:
xxxxxxxxxx
1
# will print all images
2
docker images | grep "MY_TAG_HERE" | awk '{print $1 ":" $2}'
3
4
# will remove all images - test above command
5
docker images | grep "MY_TAG_HERE" | awk '{print $1 ":" $2}' | xargs docker rmi