Skip to content

Commit

Permalink
Merge pull request #5 from michael-yx-wu/develop
Browse files Browse the repository at this point in the history
Rename to dockerclean
  • Loading branch information
Michael Wu committed Feb 4, 2016
2 parents cb6f2a7 + 51db199 commit 86269d5
Showing 1 changed file with 12 additions and 10 deletions.
22 changes: 12 additions & 10 deletions README.md
Original file line number Diff line number Diff line change
@@ -1,13 +1,15 @@
dockerutil
==========
dockerclean
===========
A simple utility to make it easier to cleanup Docker images and containers.

About
Usage
-----
A simple utility to make it easier to cleanup leftover Docker images and
containers and switch between Docker virtual machines.
`dockerclean [OPTIONS]`

Commands
--------

- `clean`: Easily cleanup Docker images and containers
- `switch`: Switch active Docker machine
- `-c PATTERN`: Remove all containers matched by `PATTERN`
- `-d`: Remove all images tagged as `<none>`
- `-r`: By default `dockerclean` executes in `dry-run` mode to give you a chance
to preview any images or containers that will get deleted. Use the `-r` flag
to remove matched images and containers.
- `-t PATTERN`: Remove all images matched by `PATTERN`
- `-h`: Print usage and options

0 comments on commit 86269d5

Please sign in to comment.