Skip to content

Instantly share code, notes, and snippets.

@welshstew
Created March 12, 2015 22:11
Show Gist options
  • Save welshstew/04ed5cdcab119709647c to your computer and use it in GitHub Desktop.
Save welshstew/04ed5cdcab119709647c to your computer and use it in GitHub Desktop.
remove all exited docker containers
sudo docker ps -a | grep Exit | cut -d ' ' -f 1 | xargs sudo docker rm
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment