View definition

func NewVersionedClientFromEnv

Defined in github.com/fsouza/go-dockerclient/client.go

Description

NewVersionedClientFromEnv returns a Client instance ready for TLS communications created from Docker's default logic for the environment variables DOCKER_HOST, DOCKER_TLS_VERIFY, and DOCKER_CERT_PATH, and using a specific remote API version.

See https://github.com/docker/docker/blob/1f963af697e8df3a78217f6fdbf67b8123a7db94/docker/docker.go#L68. See https://github.com/docker/compose/blob/81707ef1ad94403789166d2fe042c8a718a4c748/compose/cli/docker_client.py#L7.

NewVersionedClientFromEnv is referenced in 4 repositories

github.com/fsouza/go-dockerclient github.com/weaveworks/weave github.com/dnephin/dobi

...