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-14 17:26:50 -0700
commit0932ac230ba5ca8ef13b77be89e2882b9386c24d (patch)
tree37b4444e88a7c26958983f82c8493c484ff8bd87
parent9697923bca04bfbcbd5c122144b15016ecdd9f65 (diff)
downloaddocker-py-0932ac230ba5ca8ef13b77be89e2882b9386c24d.tar.gz
Add devices param to the hostconfig documentation
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