Created
March 26, 2016 08:30
-
-
Save m-wendler/9220ebd0a21db6794e26 to your computer and use it in GitHub Desktop.
remove all exited docker containers in one go
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
# the '-q' option returns just the container IDs | |
docker rm $(docker ps -a -q -f status=exited) |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment