Skip to content

Latest commit

 

History

History
22 lines (17 loc) · 1015 Bytes

README.md

File metadata and controls

22 lines (17 loc) · 1015 Bytes

dockerclean

A simple utility to make it easier to cleanup Docker images and containers.

Usage

dockerclean [OPTIONS]

  • -c PATTERN: Remove all containers matched by PATTERN
  • -d: Remove all images tagged as <none>
  • -e: Remove all exited containers
  • -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.
  • -i PATTERN: Remove all images matched by PATTERN
  • -h: Print usage and options

If -e and -c are used in conjunction, dockerclean will find all containers that have exited or match the PATTERN provided.

Build status

master (master)

develop (develop)