summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorJoffrey F <joffrey@docker.com>2015-10-08 17:28:43 -0700
committerJoffrey F <joffrey@docker.com>2015-10-08 17:28:43 -0700
commit5d95f24264d25991e9f7caf23e9c860bcdb11874 (patch)
tree980b359eed42bd1a1e3e695e3601e325e62c9ce8
parentc887147d312bb0d5ac9837d71bb1a0b6fb8cbab8 (diff)
downloaddocker-py-1.5.0-release.tar.gz
Add devices param to the hostconfig documentation1.5.0-release
Signed-off-by: Joffrey F <joffrey@docker.com>
-rw-r--r--docs/hostconfig.md8
1 files changed, 8 insertions, 0 deletions
diff --git a/docs/hostconfig.md b/docs/hostconfig.md
index 39b7a23..9bd42c9 100644
--- a/docs/hostconfig.md
+++ b/docs/hostconfig.md
@@ -101,6 +101,14 @@ for example:
allowed to consume.
* group_add (list): List of additional group names and/or IDs that the
container process will run as.
+* devices (list): A list of devices to add to the container specified as dicts
+ in the form:
+ ```
+ { "PathOnHost": "/dev/deviceName",
+ "PathInContainer": "/dev/deviceName",
+ "CgroupPermissions": "mrw"
+ }
+ ```
**Returns** (dict) HostConfig dictionary