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

Add configuration defaults to allow minikube support #97

Merged
merged 1 commit into from
Aug 17, 2017

Conversation

seryl
Copy link
Contributor

@seryl seryl commented Aug 15, 2017

Add automatic TLS support if DOCKER_CERT_PATH is configured and support DOCKER_HOST.

DOCKER_URL seems to be a deprecated or library-specific variable; I've kept support for it but preferred DOCKER_HOST if it exists.

minikube:

> minikube docker-env
export DOCKER_TLS_VERIFY="1"
export DOCKER_HOST="tcp://192.168.99.100:2376"
export DOCKER_CERT_PATH="/Users/jtoft/.minikube/certs"
export DOCKER_API_VERSION="1.23"
# Run this command to configure your shell:
# eval $(minikube docker-env)

docker-machine:

https://docs.docker.com/machine/reference/env/

@aeneasr
Copy link
Member

aeneasr commented Aug 17, 2017

Nice!

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.

2 participants