You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
{{ message }}
This repository has been archived by the owner on Mar 18, 2024. It is now read-only.
It would be nice if there was a method such as NewDockerClientEnv which automatically loaded the correct thing based on the environment variables such as DOCKER_HOST, DOCKER_CERT_PATH, etc. The code would be something like:
I submitted #201 which does a part of this. For an example usage check out https://github.com/drone/drone-exec/pull/13
I can flesh out that PR further by adding a NewDockerClientEnv, but to match the same functionality as the official docker client is a bit more work.
Sign up for freeto subscribe to this conversation on GitHub.
Already have an account?
Sign in.
It would be nice if there was a method such as
NewDockerClientEnv
which automatically loaded the correct thing based on the environment variables such asDOCKER_HOST
,DOCKER_CERT_PATH
, etc. The code would be something like:I could submit a PR if there is interest. Interested?
The text was updated successfully, but these errors were encountered: