docs/cmd/dockerd
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 21ecd5a93db34288c0c579d5738030716d7bef2d)
Signed-off-by: Tibor Vass <tibor@docker.com>
2016-07-25 23:15:25 -07:00
..
hack fix flaky test TestImportFileWithMessage 2016-05-27 23:19:29 +08:00
README.md Make dockerd debuggable 2016-04-26 09:35:22 -07:00
daemon.go plugins: experimental support for new plugin management 2016-06-14 14:20:27 -07:00
daemon_freebsd.go Make dockerd debuggable 2016-04-26 09:35:22 -07:00
daemon_linux.go plugins: experimental support for new plugin management 2016-06-14 14:20:27 -07:00
daemon_no_plugin_support.go plugins: experimental support for new plugin management 2016-06-14 14:20:27 -07:00
daemon_plugin_support.go Remove use of exec-root in plugins due to socket pathname limits. 2016-07-25 23:15:25 -07:00
daemon_solaris.go Get the Docker Engine to build clean on Solaris 2016-05-23 16:37:12 -07:00
daemon_test.go Cleanup the structure of the cli package. 2016-04-27 14:25:47 -04:00
daemon_unix.go Add --oom-score-adjust to daemon 2016-07-25 23:14:57 -07:00
daemon_unix_test.go Cleanup the structure of the cli package. 2016-04-27 14:25:47 -04:00
daemon_windows.go Ignore invalid host header between go1.6 and old docker clients 2016-05-19 21:07:45 +02:00
docker.go Improve flag help consistency, and update docs 2016-07-25 23:15:24 -07:00
docker_windows.go Windows: work around Go 1.6.2/Nano Server TP5 issue 2016-05-25 11:59:28 +02:00
routes.go plugins: experimental support for new plugin management 2016-06-14 14:20:27 -07:00
routes_experimental.go plugins: experimental support for new plugin management 2016-06-14 14:20:27 -07:00
service_unsupported.go Windows: Support running dockerd as a service 2016-04-26 14:04:47 -07:00
service_windows.go Fix typo in error message 2016-06-12 23:22:26 +02:00

README.md

docker.go contains Docker's main function.

This file provides first line CLI argument parsing and environment variable setting.