-
由 Keegan Carruthers-Smith 创作于
Docker TLS info is usually laid out in a specific way by docker. `TLSConfigFromCertPath` makes it easy to construct a `tls.Config` in that case. For example on OS X `TLSConfigFromCertPath(os.Getenv("DOCKER_CERT_PATH"))` will give us a TLS Config to speak to the docker daemon.
d93a70d7