mirror of https://github.com/docker/docs.git
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 21ecd5a93db34288c0c579d5738030716d7bef2d) Signed-off-by: Tibor Vass <tibor@docker.com> |
||
|---|---|---|
| .. | ||
| hack | ||
| README.md | ||
| daemon.go | ||
| daemon_freebsd.go | ||
| daemon_linux.go | ||
| daemon_no_plugin_support.go | ||
| daemon_plugin_support.go | ||
| daemon_solaris.go | ||
| daemon_test.go | ||
| daemon_unix.go | ||
| daemon_unix_test.go | ||
| daemon_windows.go | ||
| docker.go | ||
| docker_windows.go | ||
| routes.go | ||
| routes_experimental.go | ||
| service_unsupported.go | ||
| service_windows.go | ||
README.md
docker.go contains Docker's main function.
This file provides first line CLI argument parsing and environment variable setting.