Created
December 10, 2014 10:10
-
-
Save OrelSokolov/da0e32a94129d4621e9e to your computer and use it in GitHub Desktop.
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
| function docker_clean(){ | |
| sudo docker rm $(sudo docker ps -a -q) | |
| } | |
| function docker_clean_images(){ | |
| docker rmi $(docker images | grep "<none>" | awk "{print $3}") | |
| } |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment