moby/opts
Qiang Huang 429423624c Add mode check for device
This fixes two problems:
1. docker run --device /dev/sda:rw ubuntu bash doesn't work
2. --device /dev/zero:/dev/noro:ro doesn't show clear error message,
but fail when writing to cgroup file.

Signed-off-by: Qiang Huang <h.huangqiang@huawei.com>
2015-08-24 17:57:12 +08:00
..
envfile.go Add test coverage to opts and refactor 2015-07-12 10:33:30 +02:00
envfile_test.go Add test coverage to opts and refactor 2015-07-12 10:33:30 +02:00
hosts_unix.go cli: new daemon command and new cli package 2015-07-23 19:44:46 -04:00
hosts_windows.go cli: new daemon command and new cli package 2015-07-23 19:44:46 -04:00
ip.go Add test coverage to opts and refactor 2015-07-12 10:33:30 +02:00
ip_test.go Add test coverage to opts and refactor 2015-07-12 10:33:30 +02:00
opts.go Add mode check for device 2015-08-24 17:57:12 +08:00
opts_test.go Add mode check for device 2015-08-24 17:57:12 +08:00
ulimit.go cli: new daemon command and new cli package 2015-07-23 19:44:46 -04:00
ulimit_test.go Add and modify tests for legacy and new daemon invokations 2015-07-23 20:31:43 -04:00