Skip to content

Instantly share code, notes, and snippets.

@mlist
Created January 14, 2016 13:27
Show Gist options
  • Save mlist/121f22c3f83a0d60e418 to your computer and use it in GitHub Desktop.
Save mlist/121f22c3f83a0d60e418 to your computer and use it in GitHub Desktop.
Deletes all docker images...
sudo docker images -a | awk 'NR >= 2 {printf "%s ",$3}' | xargs sudo docker rmi -f
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment