title: Docker Remote API does not list containers
body: <p>I have locally installed docker server which runs one container. </p>
  
  <pre><code> CONTAINER ID   IMAGE   COMMAND      CREATED      STATUS      PORTS NAMES
   3d7ef4f6bb0a   debian "/bin/bash"  7 hours ago  Up 7 hours  0.0.0.0:80-&gt;2376/tcp   nostalgic_fermat
  </code></pre>
  
  <p>when I tried to use the docker remote API in order to get the information about this container I did not see the json output about the containers running on host.                  The result from rest call is:</p>
  
  <pre><code>wget -v 192.168.99.100:2376/containers/json/
  
  --2016-01-16 23:57:20--  http://192.168.99.100:2376/containers/json/
  Connecting to 192.168.99.100:2376... connected.
  HTTP request sent, awaiting response... 200 No headers, assuming HTTP/0.9
  Length: unspecified
  Saving to: 'index.html.3'
  
  index.html.3                                                    [ &lt;=&gt;                                                                                                                                        ]       7  --.-KB/s   in 0s     
  
  2016-01-16 23:57:20 (297 KB/s) - 'index.html.3' saved [7]
  </code></pre>
  
  <p>What exactly I am missing?</p>
  
  <p>The version of API is:</p>
  
  <pre><code> Client:
   Version:      1.9.0
   API version:  1.21
   Go version:   go1.4.3
   Git commit:   76d6bc9
   Built:        Tue Nov  3 19:20:09 UTC 2015
   OS/Arch:      darwin/amd64
  </code></pre>
  
  <p><strong>EDIT (RESOLVE)</strong></p>
  
  <p>It appears that docker server requires SSL authentication. I was able to  authorized to docker localhost by providing the local docker server certificates.</p>
  
  <p>The following command stores json file with information of all containers running on local docker server. </p>
  
  <pre><code>wget --no-check-certificate --ca-certificate ca.pem --certificate=cert.pem --certificate-type=PEM --private-key=key.pem --private-key-type=PEM https://192.168.99.100:2376/containers/json
  </code></pre>