Skip to content

Instantly share code, notes, and snippets.

@oiwn
Created October 14, 2016 07:01
Show Gist options
  • Select an option

  • Save oiwn/d2aae08ed87091defdc48d8db3fd3ba0 to your computer and use it in GitHub Desktop.

Select an option

Save oiwn/d2aae08ed87091defdc48d8db3fd3ba0 to your computer and use it in GitHub Desktop.

Revisions

  1. istinspring created this gist Oct 14, 2016.
    9 changes: 9 additions & 0 deletions docker.md
    Original file line number Diff line number Diff line change
    @@ -0,0 +1,9 @@
    # Delete all containers/images

    ```bash
    #!/bin/bash
    # Delete all containers
    docker rm $(docker ps -a -q)
    # Delete all images
    docker rmi $(docker images -q)
    ```