code: func DockerClient(dockerHost DockerHost) (*dockerclient.DockerClient, error) {
  	url, err := dockerHost.URL()
  	if err != nil {
  		return nil, err
  	}
  
  	tlsConfig, err := cert.ReadTLSConfig(url, dockerHost.AuthOptions())
  	if err != nil {
  		return nil, fmt.Errorf("Unable to read TLS config: %s", err)
  	}
  
  	return dockerclient.NewDockerClient(url, tlsConfig)
  }
docs: // DockerClient creates a docker client for a given host.