Last active
February 1, 2019 10:07
-
-
Save sebatyler/4efd4c9e954ebca8b0462bcb21912b66 to your computer and use it in GitHub Desktop.
cleanup_docker.sh
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
docker ps -a|grep Exited|awk '{print $1}'|xargs docker rm | |
docker images -a|grep none|awk '{print $3}'|xargs docker rmi |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment