-
Notifications
You must be signed in to change notification settings - Fork 0
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Merge pull request #5 from michael-yx-wu/develop
Rename to dockerclean
- Loading branch information
Showing
1 changed file
with
12 additions
and
10 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
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 |