Bulk clean up of images on Docker-Desktop for Mac

I’ve been slowly converting from VBox/VMWare over to Docker. There are some benefits to doing this and some downsides, but every once in a while I need to do a bulk clean up of images for any given reason.  So to help out in this, I use a command similar to this:

docker rmi -f $(docker images | grep <names of images>  | awk ‘{ print $3 }’)

Just thought I would share.


Please follow and like:

Enquire now

Give us a call or fill in the form below and we will contact you. We endeavor to answer all inquiries within 24 hours on business days.