-
-
Save renatomarinho/8aedaa61a8db7869b6afdeaca9648efb to your computer and use it in GitHub Desktop.
Stop all docker processes, remove all containers, remove all 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
| # stop all processes | |
| docker stop $(docker ps -aq) | |
| # remove all containers | |
| docker rm $(docker ps -aq) | |
| # remove all images | |
| docker rmi $(docker images -aq) | |
| # delete all volumes | |
| docker volume prune |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment