duclean (Docker universal cleaner) is command line application for cleaning docker garbage (images, containers).
Usage: declean COMMAND [arg...]
Docker universal cleaner
Commands:
images Clean useless images
containers Clean containers
volumes Clean useless volumes
version Print version
Run 'declean COMMAND --help' for more information on a command.
- golang (>= v1.8)
- git
- make
make get_deps
make build
./bin/duclean version
-
Description: Any command return error message
Error response from daemon: client is newer than server (client API version: 1.xx, server API version: 1.24)
Solution: Run
duclean
with environment variableDOCKER_API_VERSION=1.xx
, when1.xx
is version from error message.Example:
DOCKER_API_VERSION=1.24 duclean