Languages
[Edit]
EN

Docker - remove images by tag name

3 points
Created by:
troya
692

Quick solution: 

# will print all images
docker images | grep "MY_TAG_HERE" | awk '{print $1 ":" $2}'

# will remove all images - test above command 
docker images | grep "MY_TAG_HERE" | awk '{print $1 ":" $2}' | xargs docker rmi

 

Alternative titles

  1. Docker rmi by tag
Donate to Dirask
Our content is created by volunteers - like Wikipedia. If you think, the things we do are good, donate us. Thanks!
Join to our subscribers to be up to date with content, news and offers.
Native Advertising
🚀
Get your tech brand or product in front of software developers.
For more information Contact us
Dirask - we help you to
solve coding problems.
Ask question.

❤️💻 🙂

Join