Skip to content

Instantly share code, notes, and snippets.

@albertlieyingadrian
Created August 6, 2018 08:58
Show Gist options
  • Save albertlieyingadrian/b99fae67ed0e9a5d03efae2c541eb809 to your computer and use it in GitHub Desktop.
Save albertlieyingadrian/b99fae67ed0e9a5d03efae2c541eb809 to your computer and use it in GitHub Desktop.
Clean docker images with specific keywords
docker rmi -f $(docker images | grep KEYWORD | awk "{print \$3}")
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment