Skip to content

Instantly share code, notes, and snippets.

@aerth
Last active March 7, 2016 18:16
Show Gist options
  • Save aerth/9ef210b842fd50844bd9 to your computer and use it in GitHub Desktop.
Save aerth/9ef210b842fd50844bd9 to your computer and use it in GitHub Desktop.
Remove all un-tagged images
for i in $(docker images | grep "<none>" | awk '{print $3}' - ); do echo docker rmi $i; done
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment