Skip to content

Instantly share code, notes, and snippets.

@0xch4z
Created September 18, 2018 18:37
Show Gist options
  • Save 0xch4z/b4c0b4caf3b325da159b5c81d7ad23ea to your computer and use it in GitHub Desktop.
Save 0xch4z/b4c0b4caf3b325da159b5c81d7ad23ea to your computer and use it in GitHub Desktop.
Delete all docker images in one line
docker image ls | awk '{print $3}' | xargs docker image rm --force
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment