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

Adding support for TLS DOCKER_HOST #144

Closed
wants to merge 2 commits into from

Conversation

jszwedko
Copy link
Contributor

Workarounds courtesy of
fsouza/go-dockerclient#173. They can likely be
removed after better support for TLS docker connections is added to
go-dockerclient.

Workarounds courtesy of
fsouza/go-dockerclient#173. They can likely be
removed after better support for TLS docker connections is added to
go-dockerclient.
if err != nil {
return nil, err
}
fmt.Println(endpoint)
Copy link
Owner

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Think you may have forgotten to remove this line


// Only reliable way to determine if we should be using HTTPS appears to be via port
if port == "2376" {
u.Scheme = "https"
Copy link
Owner

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

This should be able to be overwritten by an env var that explicitly sets the scheme (i.e. I can use port 12345 and still force https)

@rafecolton
Copy link
Owner

Uh oh, merge conflicts 😿

@rafecolton rafecolton mentioned this pull request Oct 30, 2014
@rafecolton rafecolton closed this Oct 30, 2014
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

None yet

2 participants