Last active
December 7, 2015 09:58
-
-
Save nlamirault/6c362eb4fb625caa8db6 to your computer and use it in GitHub Desktop.
Docker clean command
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
For containers: | |
docker rm $(docker ps -aq) | |
For images: | |
docker rmi $(docker images -q --filter dangling=true) |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment