1
0
Fork 0
mirror of https://github.com/moby/moby.git synced 2022-11-09 12:21:53 -05:00
moby--moby/runconfig
Timothy e855c4b921 Add --device flag to allow additional host devices in container
We add a --device flag which can be used like:

 docker run --device /dev/sda:/dev/xvda:rwm ubuntu /bin/bash

To allow the container to have read write permissions to access the host's /dev/sda via a node named /dev/xvda in the container.

Note: Much of this code was written by Dinesh Subhraveti dineshs@altiscale.com (github: dineshs-altiscale) and so he deserves a ton of credit.

Docker-DCO-1.1-Signed-off-by: Timothy <timothyhobbs@seznam.cz> (github: timthelion)
2014-07-10 10:35:53 -07:00
..
compare.go Move volumesfrom to hostconfig 2014-04-08 21:45:06 +00:00
config.go Add cpuset cpus support for docker 2014-05-13 18:17:12 -07:00
config_test.go fix TestParseRunVolumes with Go 1.3 randomization 2014-06-26 01:48:58 +03:00
hostconfig.go Add --device flag to allow additional host devices in container 2014-07-10 10:35:53 -07:00
merge.go Move init volumes code to func 2014-05-19 22:04:51 +00:00
parse.go Add --device flag to allow additional host devices in container 2014-07-10 10:35:53 -07:00
parse_test.go Fatal() doesn't take a format string like Fatalf() 2014-06-21 17:32:39 +09:00