summaryrefslogtreecommitdiff
path: root/docs/host-devices.md
diff options
context:
space:
mode:
authorJoffrey F <joffrey@docker.com>2016-01-04 17:59:52 -0800
committerJoffrey F <joffrey@docker.com>2016-01-04 17:59:52 -0800
commitba0543e4acb6bf3268ae453fa6fead1a06ba660a (patch)
tree32e9cfbd95f56a1e9200e80ad06f78ae96a1048b /docs/host-devices.md
parentee0788e4ad07349bb2856a0f1bb40b3e9501d622 (diff)
downloaddocker-py-725-devices-format.tar.gz
Improve host devices support725-devices-format
Add unit tests for utils.parse_devices Rewrite documentation Support dict and string format for device declaration Signed-off-by: Joffrey F <joffrey@docker.com>
Diffstat (limited to 'docs/host-devices.md')
-rw-r--r--docs/host-devices.md8
1 files changed, 4 insertions, 4 deletions
diff --git a/docs/host-devices.md b/docs/host-devices.md
index a35d340..d0d6669 100644
--- a/docs/host-devices.md
+++ b/docs/host-devices.md
@@ -12,7 +12,7 @@ cli.create_container(
)
```
-Each string is a single mapping using the colon (':') as the separator. So the
-above example essentially allow the container to have read write permissions to
-access the host's /dev/sda via a node named /dev/xvda in the container. The
-devices parameter is a list to allow multiple devices to be mapped.
+Each string is a single mapping using the following format:
+`<path_on_host>:<path_in_container>:<cgroup_permissions>`
+The above example allows the container to have read-write access to
+the host's `/dev/sda` via a node named `/dev/xvda` inside the container.