-
-
Save thecocce/06900dfa46ebd9d076a250f54c817d7f to your computer and use it in GitHub Desktop.
Revisions
-
JeffBelback revised this gist
Jun 18, 2019 . 1 changed file with 12 additions and 3 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,7 +1,16 @@ #!/bin/bash # Stop all containers containers=`docker ps -a -q` if [ -n "$containers" ] ; then docker stop $containers fi # Delete all containers containers=`docker ps -a -q` if [ -n "$containers" ]; then docker rm -f -v $containers fi # Delete all images images=`docker images -q -a` if [ -n "$images" ]; then docker rmi -f $images fi -
JeffBelback renamed this gist
May 14, 2015 . 1 changed file with 0 additions and 0 deletions.There are no files selected for viewing
File renamed without changes. -
JeffBelback revised this gist
May 14, 2015 . 1 changed file with 3 additions and 1 deletion.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,7 @@ #!/bin/bash # Stop all containers docker stop $(docker ps -a -q) # Delete all containers docker rm $(docker ps -a -q) # Delete all images docker rmi $(docker images -q) -
JeffBelback created this gist
May 14, 2015 .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,5 @@ #!/bin/bash # Delete all containers docker rm $(docker ps -a -q) # Delete all images docker rmi $(docker images -q)