moby/plugin
Anusha Ragunathan c04c127ce3 Remove use of exec-root in plugins due to socket pathname limits.
Unix sockets are limited to 108 bytes. As a result, we need to be
careful in not using exec-root as the parent directory for pluginID
(which is already 64 bytes), since it can result in socket path names
longer than 108 bytes. Use /tmp instead. Before this change, setting:
- dockerd --exec-root=/go/src/github.com/do passes
- dockerd --exec-root=/go/src/github.com/doc fails
After this change, there's no failure.

Also, write a volume plugins test to verify that the plugins socket
responds.

Signed-off-by: Anusha Ragunathan <anusha@docker.com>
(cherry picked from commit 21ecd5a93d)
Signed-off-by: Tibor Vass <tibor@docker.com>
2016-07-25 23:15:25 -07:00
..
distribution Detect non-plugin content during install and error out. 2016-07-08 15:32:34 -07:00
backend.go all: fix usage of some variables 2016-07-25 23:13:48 -07:00
interface.go plugins: experimental support for new plugin management 2016-06-14 14:20:27 -07:00
legacy.go plugins: experimental support for new plugin management 2016-06-14 14:20:27 -07:00
manager.go Remove use of exec-root in plugins due to socket pathname limits. 2016-07-25 23:15:25 -07:00
manager_linux.go Remove use of exec-root in plugins due to socket pathname limits. 2016-07-25 23:15:25 -07:00
manager_windows.go Shutdown plugins during daemon shutdown. 2016-07-12 15:50:21 -07:00