From 5a9ce5c41e867863436971332deab2053d06bfeb Mon Sep 17 00:00:00 2001 From: David Tulloh Date: Thu, 6 Apr 2023 15:52:01 +1000 Subject: [PATCH] Clarify age as being usage based The killer feature of docker-gc is that the age is based on last used rather than creation. This should be fairly explicit in the documentation, age makes it sound like time since creation. --- README.md | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/README.md b/README.md index 881c65c..25effd0 100644 --- a/README.md +++ b/README.md @@ -48,7 +48,7 @@ Usage -h, --help Show context-sensitive help (also try --help-long and --help-man). --version Show application version. - -m, --max-image-age=168h How old to allow images to be before deletion. (Env: + -m, --max-image-age=168h How long to allow images to be unused before deletion. (Env: DOCKER_GC_MAX_IMAGE_AGE) -s, --sweeper-time=15m How much time between running checks to delete images. (Env: DOCKER_GC_SWEEPER_TIME)