Skip to content
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.

Commit 5d95f24

Browse files
committedOct 9, 2015
Add devices param to the hostconfig documentation
Signed-off-by: Joffrey F <joffrey@docker.com>
1 parent c887147 commit 5d95f24

File tree

1 file changed

+8
-0
lines changed

1 file changed

+8
-0
lines changed
 

‎docs/hostconfig.md

Lines changed: 8 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -101,6 +101,14 @@ for example:
101101
allowed to consume.
102102
* group_add (list): List of additional group names and/or IDs that the
103103
container process will run as.
104+
* devices (list): A list of devices to add to the container specified as dicts
105+
in the form:
106+
```
107+
{ "PathOnHost": "/dev/deviceName",
108+
"PathInContainer": "/dev/deviceName",
109+
"CgroupPermissions": "mrw"
110+
}
111+
```
104112

105113
**Returns** (dict) HostConfig dictionary
106114

0 commit comments

Comments
 (0)
Please sign in to comment.