Reliably Remove Docker Images
I've come across a few good ways to remove "trailing images" using a shell script, but no good ways to do a full cleanup of docker images. I ended up going with the following, which is still pretty manual but saves some time:
docker rmi $(docker images -q | head -n 1)
Written by Damon Oehlman
Related protips
Have a fresh tip? Share with Coderwall community!
Post
Post a tip
Best
#Cleanup
Authors
Sponsored by #native_company# — Learn More
#native_title#
#native_desc#