Skip to content

Instantly share code, notes, and snippets.

@brygom
Created October 14, 2017 03:17
Show Gist options
  • Select an option

  • Save brygom/5660710252c88c10c6744e4c5cdc5ac8 to your computer and use it in GitHub Desktop.

Select an option

Save brygom/5660710252c88c10c6744e4c5cdc5ac8 to your computer and use it in GitHub Desktop.
Docker - Delete Exited Containers
docker rm $(sudo docker ps -a | grep Exit | cut -d ' ' -f 1)
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment