diff --git a/docker-prune b/docker-prune index a8fe4f3..a6c3278 100755 --- a/docker-prune +++ b/docker-prune @@ -36,8 +36,15 @@ success() { append_msg $* 1>&2 } -# commandline parameter evaluation +# default filter="until=168h" + +# config file overwrites +if test -e /etc/docker-prune.conf; then + . /etc/docker-prune.conf +fi + +# commandline parameter evaluation while test $# -gt 0; do case "$1" in (--help|-h) less <