diff --git a/dockertidy/Autostop.py b/dockertidy/Autostop.py index 0226c57..d3ea278 100644 --- a/dockertidy/Autostop.py +++ b/dockertidy/Autostop.py @@ -86,4 +86,4 @@ class AutoStop: self.stop_containers() if not config["stop"]["max_run_time"]: - self.logger.info("Skipped, no arguments given") + self.logger.warn("Skipped, no arguments given") diff --git a/dockertidy/GarbageCollector.py b/dockertidy/GarbageCollector.py index b799118..6b416a6 100644 --- a/dockertidy/GarbageCollector.py +++ b/dockertidy/GarbageCollector.py @@ -316,4 +316,4 @@ class GarbageCollector: not config["gc"]["max_container_age"] or not config["gc"]["max_image_age"] or not config["gc"]["dangling_volumes"] ): - self.logger.info("Skipped, no arguments given") + self.logger.warn("Skipped, no arguments given") diff --git a/docs/content/setup/_index.md b/docs/content/setup/_index.md index 8fd1fba..69b9388 100644 --- a/docs/content/setup/_index.md +++ b/docs/content/setup/_index.md @@ -21,6 +21,9 @@ $ pip install https://github.com/xoxys/docker-tidy/releases/download/v0.1.0/dock ## Docker +The default entrypoint is set to the `gc` subcommand and you have to overwrite it +if you want to use other subcommands like `stop`. + {{< highlight Shell "linenos=table" >}} docker run \