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

[READY] Allows server to pick up DOCKER_CERT_PATH variable #9

Closed
wants to merge 2 commits into from

Conversation

stevenjack
Copy link
Contributor

Problem

With the latest update of docker to 1.3, SSL is turned on by default with the remote API. This breaks the spurious server as it needs to pass the client cert and ca along to the docker-api gem when it's setup (further discussion can be found here)

Solution

By parsing the DOCKER_CERT_PATH variable, if it's available then we look for the relevant certs and if they're found we set them as default options on the Docker.options method of the docker-api class.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
Development

Successfully merging this pull request may close these issues.

1 participant