From a145ffc6dce1d72aa510b6387eab6a795e0219b0 Mon Sep 17 00:00:00 2001 From: Toyam Cox Date: Fri, 27 May 2022 08:48:58 -0400 Subject: [PATCH] docs: make the example for 'load' work (#13102) --- website/content/docs/drivers/docker.mdx | 7 ++++++- 1 file changed, 6 insertions(+), 1 deletion(-) diff --git a/website/content/docs/drivers/docker.mdx b/website/content/docs/drivers/docker.mdx index 3e22f0ef9..bee408877 100644 --- a/website/content/docs/drivers/docker.mdx +++ b/website/content/docs/drivers/docker.mdx @@ -199,11 +199,16 @@ config { ``` - `load` - (Optional) Load an image from a `tar` archive file instead of from a - remote repository. Equivalent to the `docker load -i ` command. + remote repository. Equivalent to the `docker load -i ` command. If + you're using an `artifact` block to fetch the archive file, you'll need to + ensure that Nomad keeps the archive intact after download. ```hcl artifact { source = "http://path.to/redis.tar" + options { + archive = false + } } config { load = "redis.tar"