moby--moby/volume/local
Brian Goff 5bbf5cc671 Set selinux label on local volumes from mounts API
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>
2017-09-19 10:46:38 -04:00
..
local.go Set selinux label on local volumes from mounts API 2017-09-19 10:46:38 -04:00
local_test.go Partial refactor of UID/GID usage to use a unified struct. 2017-06-07 11:44:33 -04:00
local_unix.go Add CreatedAt filed to volume. Display when volume is inspected. 2017-05-26 11:47:02 -07:00
local_windows.go Add CreatedAt filed to volume. Display when volume is inspected. 2017-05-26 11:47:02 -07:00