Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Expose needed services on the control socket #1828

Merged
merged 1 commit into from Jan 9, 2017

Commits on Dec 21, 2016

  1. Expose needed services on the control socket

    For swarm mode to function without exposing a TCP port, we need services
    such as the dispatcher and node CA to be exposed on the control socket
    (i.e. a unix socket). This commit changes the manager to expose those
    services, and changes the raft proxy to inject some information into the
    context when calling the handler directly that identifies the local
    node. The authorization code in "ca" is updated to check for this
    information on the context and make use of it, instead of returning an
    error from RemoteNode. Also, the CA server now renewing a certificate
    over the control socket.
    
    Signed-off-by: Aaron Lehmann <aaron.lehmann@docker.com>
    aaronlehmann committed Dec 21, 2016
    Configuration menu
    Copy the full SHA
    8e51d74 View commit details
    Browse the repository at this point in the history