From 5d95f24264d25991e9f7caf23e9c860bcdb11874 Mon Sep 17 00:00:00 2001 From: Joffrey F Date: Thu, 8 Oct 2015 17:28:43 -0700 Subject: Add devices param to the hostconfig documentation Signed-off-by: Joffrey F --- docs/hostconfig.md | 8 ++++++++ 1 file changed, 8 insertions(+) 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 -- cgit v1.2.1