root2000xyz / docker-cleaner

Geek Repo:Geek Repo

Github PK Tool:Github PK Tool

docker-cleaner wercker status

A tool that removes orphaned volumes from Docker host. It's useful for testing and development.

I DO NOT RECOMMEND TO RUN THIS COMMAND ON YOUR PRODUCTION ENVIRONMENT.

Installation (from Github releases)

Download from releases.

Installation (from source)

$ go get -u github.com/nabeken/docker-cleaner

Usage

$ docker-cleaner help
NAME:
   docker-cleaner - A tool that remove orphaned volumes and obsoleted images from Docker host.

USAGE:
   docker-cleaner [global options] command [command options] [arguments...]
   
VERSION:
   0.1.0
   
AUTHOR(S):
   TANABE Ken-ichi <nabeken@tknetworks.org> 
   
COMMANDS:
   volume, v   Removes orphaned volumes from Docker host
   image, i Removes orphaned images from Docker host
   container, c   Removes orphaned containers from Docker host
   help, h  Shows a list of commands or help for one command
   
GLOBAL OPTIONS:
   --directory, -d "/var/lib/docker"      specify a docker directory
   --endpoint, -e "unix:///var/run/docker.sock" specify a docker endpoint
   --help, -h              show help
   --version, -v           print the version

Author

TANABE Ken-ichi

LICENSE

See LICENSE.

LICENSE for binary distribution

The binary form distribution of docker-cleaner contains the following products. See individual licenses:

About

License:BSD 3-Clause "New" or "Revised" License


Languages

Language:Go 100.0%