From 1826d05d5c43171efe39252f2fbeb4ace74c7c8a Mon Sep 17 00:00:00 2001 From: Alex Dadgar Date: Mon, 16 Oct 2017 10:08:35 -0700 Subject: [PATCH] clarify duration --- website/source/docs/drivers/docker.html.md | 9 +++++---- 1 file changed, 5 insertions(+), 4 deletions(-) diff --git a/website/source/docs/drivers/docker.html.md b/website/source/docs/drivers/docker.html.md index 364ae50e5..62a1528e5 100644 --- a/website/source/docs/drivers/docker.html.md +++ b/website/source/docs/drivers/docker.html.md @@ -523,10 +523,11 @@ options](/docs/agent/configuration/client.html#options): * `docker.cleanup.image` Defaults to `true`. Changing this to `false` will prevent Nomad from removing images from stopped tasks. -* `docker.cleanup.image.delay` A time duration that defaults to `3m`. The delay - controls how long Nomad will wait between an image being unused and deleting - it. If a tasks is received that uses the same image within the delay, the - image will be reused. +* `docker.cleanup.image.delay` A time duration, as [defined + here](https://golang.org/pkg/time/#ParseDuration), that defaults to `3m`. The + delay controls how long Nomad will wait between an image being unused and + deleting it. If a tasks is received that uses the same image within the delay, + the image will be reused. * `docker.volumes.enabled`: Defaults to `true`. Allows tasks to bind host paths (`volumes`) inside their container and use volume drivers (`volume_driver`).