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

feat:docker: use env variables to configure docker client #756

Merged
merged 1 commit into from
Nov 9, 2021

Conversation

matheusalcantarazup
Copy link
Contributor

Previously when an user use a different DOCKER_HOST we was not able to
connect because we was not reading the environment variables.

This commit change the docker client initialization to read
configuration from environment variables if they exists.

Fixes #525

Signed-off-by: Matheus Alcantara matheus.alcantara@zup.com.br

- What I did

- How to verify it

- Description for the changelog

Previously when an user use a different DOCKER_HOST we was not able to
connect because we was not reading the environment variables.

This commit change the docker client initialization to read
configuration from environment variables if they exists.

Fixes #525

Signed-off-by: Matheus Alcantara <matheus.alcantara@zup.com.br>
@matheusalcantarazup matheusalcantarazup merged commit 59f7eab into main Nov 9, 2021
@matheusalcantarazup matheusalcantarazup deleted the docker-host branch November 9, 2021 14:54
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.

DOCKER_HOST not taken into account
2 participants