title: Docker splunk logging driver - handshake failure
body: <p>I'm trying to use docker splunk logging driver. Here's my command and docker error message:</p>
  
  <pre><code>$ docker run --log-driver=splunk --log-opt splunk-token=XXXXXXX-XXXX-XXXX-XXXX-XXXXXXXXX --log-opt splunk-url=https://input-prd-p-pxxxxxxxxxx.cloud.splunk.com:8088 hello-world
  
  docker: Error response from daemon: Failed to initialize logging driver: remote error: handshake failure.
  </code></pre>
  
  <p>I've also tested with <code>--log-opt splunk-insecureskipverify=true</code>, but it didn't help. The splunk Http even collector should be configured correctly, as I can succesfully use curl for logging:</p>
  
  <pre><code>curl -k https://input-prd-p-pxxxxxxxxxx.cloud.splunk.com:8088/services/collector/event -H 'Authorization: Splunk XXXXXXX-XXXX-XXXX-XXXX-XXXXXXXXX' -d '{"event":"Hello, World!"}'
  </code></pre>
  
  <p>Any clues how to make splunk docker driver work?</p>
  
  <p>Here's my docker setup:</p>
  
  <pre><code>$ docker version
  Client:
   Version:      1.12.1
   API version:  1.24
   Go version:   go1.6.3
   Git commit:   23cf638
   Built:        Thu Aug 18 17:32:24 2016
   OS/Arch:      darwin/amd64
   Experimental: true
  
  Server:
   Version:      1.12.1
   API version:  1.24
   Go version:   go1.6.3
   Git commit:   23cf638
   Built:        Thu Aug 18 17:32:24 2016
   OS/Arch:      linux/amd64
   Experimental: true
  </code></pre>