Skip to content

Instantly share code, notes, and snippets.

@bt5e
Created December 11, 2015 19:32
Show Gist options
  • Save bt5e/c8dd586ca2a75e390245 to your computer and use it in GitHub Desktop.
Save bt5e/c8dd586ca2a75e390245 to your computer and use it in GitHub Desktop.
docker ps -a | grep 'weeks ago' | awk '{print $1}' | xargs --no-run-if-empty docker rm
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment