Created
March 31, 2017 22:41
-
-
Save MarkTiedemann/1634a729146cc426c717f3369411003a to your computer and use it in GitHub Desktop.
Clear all docker containers and images
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
docker ps -a -q | xargs -r docker rm -f | |
docker images -a -q | xargs -r docker rmi -f |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment