зеркало из https://github.com/microsoft/docker.git
5bbf5cc671
When using a volume via the `Binds` API, a shared selinux label is automatically set. The `Mounts` API is not setting this, which makes volumes specified via the mounts API useless when selinux is enabled. This fix adopts the same selinux label for volumes on the mounts API as on binds. Note in the case of both the `Binds` API and the `Mounts` API, the selinux label is only applied when the volume driver is the `local` driver. Signed-off-by: Brian Goff <cpuguy83@gmail.com> |
||
---|---|---|
.. | ||
drivers | ||
local | ||
store | ||
testutils | ||
lcow_parser.go | ||
linux_parser.go | ||
parser.go | ||
validate.go | ||
validate_test.go | ||
validate_unix_test.go | ||
validate_windows_test.go | ||
volume.go | ||
volume_copy.go | ||
volume_test.go | ||
volume_unix.go | ||
volume_windows.go | ||
windows_parser.go |