Skip to content

Instantly share code, notes, and snippets.

Show Gist options
  • Select an option

  • Save vitaliiznak/188a70d0a8be1cf1bd65d6ee215754f8 to your computer and use it in GitHub Desktop.

Select an option

Save vitaliiznak/188a70d0a8be1cf1bd65d6ee215754f8 to your computer and use it in GitHub Desktop.

Revisions

  1. @weblancaster weblancaster revised this gist Oct 12, 2016. 1 changed file with 3 additions and 3 deletions.
    6 changes: 3 additions & 3 deletions gistfile1.sh
    Original file line number Diff line number Diff line change
    @@ -1,8 +1,8 @@
    stop all containers:
    #stop all containers:
    docker kill $(docker ps -q)

    remove all containers
    #remove all containers
    docker rm $(docker ps -a -q)

    remove all docker images
    #remove all docker images
    docker rmi $(docker images -q)
  2. @weblancaster weblancaster renamed this gist Oct 12, 2016. 1 changed file with 0 additions and 0 deletions.
    File renamed without changes.
  3. @weblancaster weblancaster created this gist Oct 12, 2016.
    8 changes: 8 additions & 0 deletions gistfile1.txt
    Original file line number Diff line number Diff line change
    @@ -0,0 +1,8 @@
    stop all containers:
    docker kill $(docker ps -q)

    remove all containers
    docker rm $(docker ps -a -q)

    remove all docker images
    docker rmi $(docker images -q)