From 9b48b09498113337903a250bfb68ded1f7f75a5f Mon Sep 17 00:00:00 2001 From: Mahmood Ali Date: Tue, 20 Nov 2018 09:38:09 -0500 Subject: [PATCH] document storage opts --- website/source/docs/drivers/docker.html.md | 13 +++++++++++++ 1 file changed, 13 insertions(+) diff --git a/website/source/docs/drivers/docker.html.md b/website/source/docs/drivers/docker.html.md index 0bc12f5ecb41..55b3a4b0e93a 100644 --- a/website/source/docs/drivers/docker.html.md +++ b/website/source/docs/drivers/docker.html.md @@ -227,6 +227,19 @@ The `docker` driver supports the following configuration in the job spec. Only * `shm_size` - (Optional) The size (bytes) of /dev/shm for the container. +* `storage_opt` - (Optional) A key-value map of storage options set to the containers on start. + This overrides the [host dockerd configuration](https://docs.docker.com/engine/reference/commandline/dockerd/#options-per-storage-driver). + For example: + + + ```hcl + config { + storage_opt = { + size = "40G" + } + } + ``` + * `SSL` - (Optional) If this is set to true, Nomad uses SSL to talk to the repository. The default value is `true`. **Deprecated as of 0.5.3**