Skip to content

Instantly share code, notes, and snippets.

@shoaibi
Created January 20, 2017 11:47
Show Gist options
  • Select an option

  • Save shoaibi/c149d8e22545f578ea18ea2f179061f6 to your computer and use it in GitHub Desktop.

Select an option

Save shoaibi/c149d8e22545f578ea18ea2f179061f6 to your computer and use it in GitHub Desktop.

Revisions

  1. Shoaibi created this gist Jan 20, 2017.
    3 changes: 3 additions & 0 deletions docker-kill-all.sh
    Original file line number Diff line number Diff line change
    @@ -0,0 +1,3 @@
    #!/bin/bash
    # Kill all running containers
    docker kill $(docker ps -q)