Last active
December 18, 2019 15:12
-
-
Save matthewpoer/c5595b3e5323859a0a58cb608d1a0384 to your computer and use it in GitHub Desktop.
Docker kill all, Bash alias to stop and remove 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
alias docker_kill_all='docker stop $(docker ps -a -q) && docker rm $(docker ps -a -q) && docker image rm $(docker image ls -q)' |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment