title: Running the official consul docker image
body: <p>I am trying to run the official docker image by doing the following</p>
  
  <pre><code>docker pull consul
  docker run -d --name=dev-consul -p 8500:8500 consul
  </code></pre>
  
  <p>When I try to access the consul server using curl I get an empty reply </p>
  
  <pre><code>   vagrant@docker:~$ curl localhost:8500/v1/catalog/nodes --verbose
  * Hostname was NOT found in DNS cache
  *   Trying ::1...
  * Connected to localhost (::1) port 8500 (#0)
  &gt; GET /v1/catalog/nodes HTTP/1.1
  &gt; User-Agent: curl/7.35.0
  &gt; Host: localhost:8500
  &gt; Accept: */*
  &gt; 
  * Empty reply from server
  * Connection #0 to host localhost left intact
  curl: (52) Empty reply from server
  </code></pre>
  
  <p>What am I missing?</p>