Skip to content

Instantly share code, notes, and snippets.

@paulredmond
Created September 12, 2015 05:45
Show Gist options
  • Star 0 You must be signed in to star a gist
  • Fork 0 You must be signed in to fork a gist
  • Save paulredmond/3a280476ebf75dffa748 to your computer and use it in GitHub Desktop.
Save paulredmond/3a280476ebf75dffa748 to your computer and use it in GitHub Desktop.
Remove all Docker containers with --before flag
docker rm $(docker ps -a --before 97b0b463468f | awk '{if (NR!=1) {print $1}}')
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment