Remove all untagged docker images
docker images -a | grep '^<none>' | tr -s ' ' | cut -d' ' -f 3 | xargs --no-run-if-empty docker rmi
Written by louis
Related protips
Have a fresh tip? Share with Coderwall community!
Post
Post a tip
Best
#Grep
Authors
Sponsored by #native_company# — Learn More
#native_title#
#native_desc#