-
-
Save b-barry/6775c4c39f7c5778ea5dcb81eeaacadf to your computer and use it in GitHub Desktop.
Revisions
-
Bouba revised this gist
Jun 16, 2019 . No changes.There are no files selected for viewing
-
Bouba revised this gist
Jun 16, 2019 . 1 changed file with 1 addition and 0 deletions.There are no files selected for viewing
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 charactersOriginal file line number Diff line number Diff line change @@ -1,5 +1,6 @@ # One command docker stop `docker ps -qa` && docker rm `docker ps -qa` && docker rmi -f `docker images -qa ` && docker volume rm $(docker volume ls -qf) && docker network rm `docker network ls -q` # Stop all containers docker stop `docker ps -qa` -
Bouba revised this gist
Jun 16, 2019 . 1 changed file with 2 additions and 0 deletions.There are no files selected for viewing
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 charactersOriginal file line number Diff line number Diff line change @@ -1,3 +1,5 @@ # One command docker stop `docker ps -qa` && docker rm `docker ps -qa` && docker rmi -f `docker images -qa ` && docker volume rm $(docker volume ls -qf) && docker network rm `docker network ls -q` # Stop all containers docker stop `docker ps -qa` -
beeman created this gist
Nov 15, 2016 .There are no files selected for viewing
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 charactersOriginal file line number Diff line number Diff line change @@ -0,0 +1,25 @@ # Stop all containers docker stop `docker ps -qa` # Remove all containers docker rm `docker ps -qa` # Remove all images docker rmi -f `docker images -qa ` # Remove all volumes docker volume rm $(docker volume ls -qf) # Remove all networks docker network rm `docker network ls -q` # Your installation should now be all fresh and clean. # The following commands should not output any items: # docker ps -a # docker images -a # docker volume ls # The following command show only show the default networks: # docker network ls