Merge pull request #2361 from hashicorp/f-docker-coordination

Docker Image Coordinator and caching
This commit is contained in:
Alex Dadgar
2017-02-24 14:18:21 -08:00
committed by GitHub
6 changed files with 665 additions and 134 deletions

View File

@@ -410,6 +410,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.volumes.enabled`: Defaults to `true`. Allows tasks to bind host paths
(`volumes`) inside their container and use volume drivers (`volume_driver`).
Binding relative paths is always allowed and will be resolved relative to the