From 441971e0150e804ccce7e26d777aad85f3b25ece Mon Sep 17 00:00:00 2001 From: Abhishek Chanda Date: Sun, 11 Oct 2015 12:53:34 -0700 Subject: [PATCH] Add details to docker driver docs - The driver sets a bool to `true` - Clarify behavior when `network_mode` is `container` --- website/source/docs/drivers/docker.html.md | 6 ++++-- 1 file changed, 4 insertions(+), 2 deletions(-) diff --git a/website/source/docs/drivers/docker.html.md b/website/source/docs/drivers/docker.html.md index c6ea40a77..05ef6a64f 100644 --- a/website/source/docs/drivers/docker.html.md +++ b/website/source/docs/drivers/docker.html.md @@ -26,7 +26,7 @@ The `docker` driver supports the following configuration in the job specificatio * `network_mode` - (Optional) The network mode to be used for the container. Valid options are `default`, `bridge`, `host` or `none`. If nothing is specified, the container will start in `bridge` mode. The `container` - network mode is not supported right now. + network mode is not supported right now, this case also defaults to `bridge`. ### Port Mapping @@ -125,8 +125,10 @@ production Nomad will always read `docker.endpoint`. The `docker` driver will set the following client attributes: -* `driver.docker` - This will be set to "1", indicating the +* `driver.docker` - This will be set to "true", indicating the driver is available. +* `driver.docker.version` - This will be set to version of the + docker server ## Resource Isolation