summaryrefslogtreecommitdiff
path: root/docs/hostconfig.md
diff options
context:
space:
mode:
Diffstat (limited to 'docs/hostconfig.md')
-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