1
0
Fork 0
mirror of https://github.com/moby/moby.git synced 2022-11-09 12:21:53 -05:00
moby--moby/daemon/graphdriver
Brian Goff 0e5eaf8ee3 Ensure plugin returns correctly scoped paths
Before this change, volume management was relying on the fact that
everything the plugin mounts is visible on the host within the plugin's
rootfs. In practice this caused some issues with mount leaks, so we
changed the behavior such that mounts are not visible on the plugin's
rootfs, but available outside of it, which breaks volume management.

To fix the issue, allow the plugin to scope the path correctly rather
than assuming that everything is visible in `p.Rootfs`.
In practice this is just scoping the `PropagatedMount` paths to the
correct host path.

Signed-off-by: Brian Goff <cpuguy83@gmail.com>
2018-02-07 15:48:27 -05:00
..
aufs Do not make graphdriver homes private mounts. 2018-01-18 09:34:00 -05:00
btrfs Do not make graphdriver homes private mounts. 2018-01-18 09:34:00 -05:00
copy Golint: remove redundant ifs 2018-01-15 00:42:25 +01:00
devmapper Do not make graphdriver homes private mounts. 2018-01-18 09:34:00 -05:00
graphtest Golint: remove redundant ifs 2018-01-15 00:42:25 +01:00
lcow Merge pull request #36114 from Microsoft/jjh/fixdeadlock-lcowdriver-hotremove 2018-01-29 09:57:43 -08:00
overlay Do not make graphdriver homes private mounts. 2018-01-18 09:34:00 -05:00
overlay2 Do not make graphdriver homes private mounts. 2018-01-18 09:34:00 -05:00
overlayutils Remove support for overlay/overlay2 without d_type 2017-12-04 17:10:20 -08:00
quota Move api/errdefs to errdefs 2018-01-11 21:21:43 -05:00
register daemon/graphdriver/register: separate overlay2 2017-11-15 00:06:00 -08:00
vfs Merge pull request #35827 from kolyshkin/vfs-quota 2017-12-22 12:32:03 -06:00
windows LCOW: Refactor to multiple layer-stores based on feedback 2018-01-18 08:31:05 -08:00
zfs Do not make graphdriver homes private mounts. 2018-01-18 09:34:00 -05:00
counter.go Merge pull request #31083 from xulike666/fight-for-readability 2017-03-03 15:13:01 +01:00
driver.go Allow existing setups to continue using d_type 2017-12-04 18:41:25 -08:00
driver_freebsd.go graphdriver: custom build-time priority list 2017-11-16 19:43:34 -08:00
driver_linux.go Remove redundant build-tags 2017-12-18 17:41:53 +01:00
driver_test.go Skip empty directories on prior graphdriver detection 2017-11-21 15:42:04 +01:00
driver_unsupported.go graphdriver: custom build-time priority list 2017-11-16 19:43:34 -08:00
driver_windows.go graphdriver: custom build-time priority list 2017-11-16 19:43:34 -08:00
errors.go Remove support for overlay/overlay2 without d_type 2017-12-04 17:10:20 -08:00
fsdiff.go LCOW: Implemented support for docker cp + build 2017-09-14 12:07:52 -07:00
plugin.go Plugins perform propagated mount in runtime spec 2018-02-07 15:48:27 -05:00
proxy.go Ensure plugin returns correctly scoped paths 2018-02-07 15:48:27 -05:00