From 6e5f1603e1d3ce926f520a36caa568fd20d764db Mon Sep 17 00:00:00 2001 From: Seth Vargo Date: Mon, 31 Oct 2016 16:39:06 -0400 Subject: [PATCH] Clarify templates must pre-exist and cannot come from the container --- website/source/docs/job-specification/template.html.md | 4 +++- 1 file changed, 3 insertions(+), 1 deletion(-) diff --git a/website/source/docs/job-specification/template.html.md b/website/source/docs/job-specification/template.html.md index cddc42214..4163f72a8 100644 --- a/website/source/docs/job-specification/template.html.md +++ b/website/source/docs/job-specification/template.html.md @@ -46,7 +46,9 @@ API template functions, please see the [Consul Template README][ct]. - `source` `(string: "")` - Specifies the path to the template to be rendered. One of `source` or `data` must be specified, but not both. This source can - optionally be fetched using an [`artifact`][artifact] resource. + optionally be fetched using an [`artifact`][artifact] resource. This template + must exist on the machine prior to starting the task; it is not possible to + reference a template inside of a Docker container, for example. - `destination` `(string: required)` - Specifies the location where the resulting template should be rendered, relative to the task directory.