Last active
November 3, 2021 20:15
-
-
Save cameronelliott/c820b1ec72fe69dd9f36d5b7ed911aff to your computer and use it in GitHub Desktop.
Docker kill all, rm all containers, all images, for Fish shell
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 kill (docker ps -q) | |
docker rm (docker ps -a -q) | |
docker rmi (docker images -q) | |
# three commands above do | |
# stop all containers: | |
# remove all containers | |
# remove all docker images |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment