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

Change DOCKER_ENDPOINT to DOCKER_HOST #20

Open
dhobbs opened this issue Nov 19, 2014 · 1 comment
Open

Change DOCKER_ENDPOINT to DOCKER_HOST #20

dhobbs opened this issue Nov 19, 2014 · 1 comment

Comments

@dhobbs
Copy link

dhobbs commented Nov 19, 2014

Boot2Docker (https://docs.docker.com/installation/mac/) uses the environment variable DOCKER_HOST to point to Docker:

echo $DOCKER_HOST
tcp://192.168.59.103:2375

It would be great if uberimage also looked for DOCKER_HOST (either in addition to, or instead of DOCKER_ENDPOINT). That way it would Just Work for boot2docker users.

@hugoduncan
Copy link
Member

Seems like a good idea. I think it might be advisable to user DOCKER_ENDPOINT if set, and fall back to DOCKER_HOST, just in case DOCKER_HOST points to a unix socket endpoint, and an http endpoint is being used just for lein-uberimage. Does that make sense?

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

No branches or pull requests

2 participants