Skip to content

Commit

Permalink
Added standard Docker env override (host, version, TLS config).
Browse files Browse the repository at this point in the history
  • Loading branch information
vhadianto committed Feb 11, 2024
1 parent c28b80b commit 082b491
Showing 1 changed file with 3 additions and 0 deletions.
3 changes: 3 additions & 0 deletions internal/docker/docker.go
Original file line number Diff line number Diff line change
Expand Up @@ -96,6 +96,9 @@ func New(options ...Option) (*DockerClient, error) {
cli, err := client.NewClientWithOpts(
client.FromEnv,
client.WithAPIVersionNegotiation(),
client.WithHostFromEnv(),
client.WithVersionFromEnv(),
client.WithTLSClientConfigFromEnv(),
)
if err != nil {
return nil, err
Expand Down

0 comments on commit 082b491

Please sign in to comment.