Last active
June 11, 2018 04:44
-
-
Save vvkpd/d06bcdf4964114e34c4325c27ae1f1e8 to your computer and use it in GitHub Desktop.
Kill/Clean all docker containers and images
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
remove all containers forcefully:- | |
docker rm -f $(docker ps -a -q) | |
remove all docker images forcefully:- | |
docker rmi -f $(docker images -q) |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment