title: Docker running ubuntu with elasticsearch
body: <p>I have a ubuntu docker. I install elasticsearch service it.</p>
  
  <p>When i use the command "curl -X GET 'localhost:9200' ", it return me the version, the name, all right.</p>
  
  <p>It means the elasticsearch is configured correct, but when i access on my browser out of docker , doesn't work.</p>
  
  <p>I have already configured the network  on elasticsearch.yml file in path:
  /etc/elasticsearch/elasticsearch.yml</p>
  
  <p>I don't know the reason.
  When i start the docker i use the command:</p>
  
  <p>docker run -it -p 9200:9200 ubuntu/elastic</p>
  
  <p><strong>Extra information</strong>: the elasticsearch is in ubuntu that it's a docker too. i start the ubuntu, and after that inside the ubuntu's container i start the elasticsearch service.</p>