code: func NewDockerClient(host, certPath string) (*docker.Client, error) {
  	if certPath != "" {
  		cert := certPath + "/cert.pem"
  		key := certPath + "/key.pem"
  		ca := certPath + "/ca.pem"
  		return docker.NewTLSClient(host, cert, key, ca)
  	}
  
  	return docker.NewClient(host)
  }
docs: // NewDockerClient returns a new docker.Client using the given host and certificate path.