Created
February 17, 2017 08:14
-
-
Save muhx/9ddecd944005718abc95126932426435 to your computer and use it in GitHub Desktop.
One liner task to remove exited docker
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
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