moby/pkg/plugins
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
..
pluginrpc-gen Add deadcode linter 2017-08-21 18:18:50 -04:00
transport Increase the Coverage of pkg/plugins 2017-06-12 12:23:10 +05:00
client.go Add timeouts for volume plugin ops 2018-01-16 20:30:49 -05:00
client_test.go Increase the Coverage of pkg/plugins 2017-06-12 12:23:10 +05:00
discovery.go Fix issue with plugin scanner going to deep 2018-02-02 16:49:14 -05:00
discovery_test.go pkg/*: clean up a few issues 2017-03-30 16:50:46 +03:00
discovery_unix.go fix spec file support for Windows plugin discovery (#25903) 2016-08-26 22:11:58 +02:00
discovery_unix_test.go Fix issue with plugin scanner going to deep 2018-02-02 16:49:14 -05:00
discovery_windows.go fix spec file support for Windows plugin discovery (#25903) 2016-08-26 22:11:58 +02:00
errors.go Fix some typos in comments and strings 2016-02-22 20:27:15 +01:00
plugin_test.go Fix issue with plugin scanner going to deep 2018-02-02 16:49:14 -05:00
plugins.go Update logrus to v1.0.1 2017-07-31 13:16:46 -07:00
plugins_unix.go Ensure plugin returns correctly scoped paths 2018-02-07 15:48:27 -05:00
plugins_windows.go Ensure plugin returns correctly scoped paths 2018-02-07 15:48:27 -05:00