moby--moby/volume
Akihiro Suda 4a8799dc0a validate mount path for tmpfs
There was no validation for `docker run --tmpfs foo`.

In this PR, only two obvious rules are implemented:
 - path must be absolute
 - path must not be "/"
We should add more rules carefully.

Signed-off-by: Akihiro Suda <suda.akihiro@lab.ntt.co.jp>
2017-01-20 06:01:48 +00:00
..
drivers Refactoring ineffectual assignments 2017-01-13 00:27:01 -07:00
local Fix minor typo 2017-01-05 12:45:56 -08:00
store Merge pull request #28690 from zteBill/volume-errorinfo-inexact 2017-01-15 17:10:27 +01:00
testutils
validate.go validate mount path for tmpfs 2017-01-20 06:01:48 +00:00
validate_test.go
validate_test_unix.go
validate_test_windows.go
volume.go Correct comment in vol driver interface 2017-01-04 12:06:37 -08:00
volume_copy.go
volume_copy_unix.go
volume_copy_windows.go
volume_linux.go Use container Mounts API for Swarm containers. 2016-11-22 13:23:51 -05:00
volume_linux_test.go api: fix ReadOnly support for tmpfs 2016-11-08 06:49:17 +00:00
volume_propagation_linux.go
volume_propagation_linux_test.go
volume_propagation_unsupported.go
volume_test.go Windows: Fix old TP5 volume unit tests 2017-01-04 16:17:55 -08:00
volume_unix.go
volume_unsupported.go api: fix ReadOnly support for tmpfs 2016-11-08 06:49:17 +00:00
volume_windows.go