Skip to content

Instantly share code, notes, and snippets.

@vicneanschi
Created February 6, 2018 20:35
Show Gist options
  • Select an option

  • Save vicneanschi/fd5a8127f306dc9948a61cd4b83ce883 to your computer and use it in GitHub Desktop.

Select an option

Save vicneanschi/fd5a8127f306dc9948a61cd4b83ce883 to your computer and use it in GitHub Desktop.

Revisions

  1. vicneanschi created this gist Feb 6, 2018.
    5 changes: 5 additions & 0 deletions cleanup-docker.sh
    Original 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)