Created
May 5, 2020 07:10
-
-
Save iamcryptoki/ea011d16666c42792785412e2322aaa0 to your computer and use it in GitHub Desktop.
Remove all Exited Docker containers
This file contains hidden or 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
| 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