From 8101a5b0fcb13eed2eda8aef55656970acf17ea1 Mon Sep 17 00:00:00 2001 From: Michael Schurter Date: Fri, 7 Oct 2016 16:23:55 -0700 Subject: [PATCH] Add docker volume example --- website/source/docs/drivers/docker.html.md | 6 ++++++ 1 file changed, 6 insertions(+) diff --git a/website/source/docs/drivers/docker.html.md b/website/source/docs/drivers/docker.html.md index c8627519c..9f2993a2e 100644 --- a/website/source/docs/drivers/docker.html.md +++ b/website/source/docs/drivers/docker.html.md @@ -165,6 +165,12 @@ The `docker` driver supports the following configuration in the job spec: host paths to container paths. Can only be run on clients with the `docker.volumes.enabled` option set to true. + ```hcl + config { + volumes = ["/path/on/host:/path/in/container"] + } + ``` + * `work_dir` - (Optional) The working directory inside the container. ### Container Name