title: Configuring ELK with Kitematic - Elastic Search won't start - localhost not available
body: <p>I am trying to set up ELK (Elasticsearch, Logstash, Kibana) with Kitematic. I have followed these interactions <a href="https://elk-docker.readthedocs.io" rel="nofollow noreferrer">here</a>. Steps taken:</p>
  
  <ol>
  <li>Installed Kitematic</li>
  <li>Downloaded the ELK package</li>
  <li>Run the container</li>
  <li>I am given the following ports:</li>
  </ol>
  
  <p><a href="https://i.stack.imgur.com/EybIZ.png" rel="nofollow noreferrer"><img src="https://i.stack.imgur.com/EybIZ.png" alt="enter image description here"></a></p>
  
  <p>I can access Kibana on <a href="http://192.168.99.100:32839/app/kibana" rel="nofollow noreferrer">http://192.168.99.100:32839/app/kibana</a>, but see this error:</p>
  
  <p><a href="https://i.stack.imgur.com/NEDtE.png" rel="nofollow noreferrer"><img src="https://i.stack.imgur.com/NEDtE.png" alt="enter image description here"></a></p>
  
  <p><a href="http://localhost:9200" rel="nofollow noreferrer">http://localhost:9200</a> returns a server not found error.</p>
  
  <p><a href="https://i.stack.imgur.com/rXXKp.png" rel="nofollow noreferrer"><img src="https://i.stack.imgur.com/rXXKp.png" alt="enter image description here"></a></p>
  
  <p>I then ssh into the container and try to run <code>service start elasticsearch</code> but receive the following failure:</p>
  
  <p><code>* Starting Elasticsearch Server                                                                sysctl: setting key "vm.max_map_count": Read-only file system                                                                [fail]</code></p>
  
  <p>My question(s):</p>
  
  <ol>
  <li><p>Am I wrong to expect to be able to reach the containers services via <a href="http://localhost" rel="nofollow noreferrer">http://localhost</a>:</p></li>
  <li><p>Why does elastic search not start?</p></li>
  <li><p>Can I connect the output of my own script (twitter sentiment analysis data) to elastic search by specifying the elastic search container url? </p></li>
  </ol>
  
  <p>My own investigations:</p>
  
  <ol>
  <li><a href="https://www.digitalocean.com/community/tutorials/how-to-troubleshoot-common-elk-stack-issues" rel="nofollow noreferrer">article3</a></li>
  <li><a href="https://stackoverflow.com/questions/29643060/messageno-living-connections-node-envproduction">article1</a></li>
  <li><a href="https://stackoverflow.com/questions/33145382/cannot-start-kibana-4-1-2">article2</a></li>
  </ol>
  
  <p>New to Docker, so apologies if I am missing something obvious.</p>