From cc8b61394bc50b066faa2bbe90479fe9aa709e3c Mon Sep 17 00:00:00 2001 From: Michael Schurter Date: Fri, 29 Sep 2017 11:29:11 -0700 Subject: [PATCH] Docker `load` takes a string not a slice --- website/source/docs/drivers/docker.html.md | 9 +++------ 1 file changed, 3 insertions(+), 6 deletions(-) diff --git a/website/source/docs/drivers/docker.html.md b/website/source/docs/drivers/docker.html.md index c030469c8..ad9a2078c 100644 --- a/website/source/docs/drivers/docker.html.md +++ b/website/source/docs/drivers/docker.html.md @@ -122,18 +122,15 @@ The `docker` driver supports the following configuration in the job spec. Only } ``` -* `load` - (Optional) A list of paths to image archive files. If - this key is not specified, Nomad assumes the `image` is hosted on a repository - and attempts to pull the image. The `artifact` blocks can be specified to - download each of the archive files. The equivalent of `docker load -i path` - would be run on each of the archive files. +* `load` - (Optional) Load an image from a `tar` archive file instead of from a + remote repository. Equivalent to the `docker load -i ` command. ```hcl artifact { source = "http://path.to/redis.tar" } config { - load = ["redis.tar"] + load = "redis.tar" image = "redis" } ```