title: Set up mapping in Elasticsearch during Docker run
body: <p>I am going to use official Elasticsearch image. What I want to do is set up the mapping of indexes during Docker run.</p>
  
  <p>So I need to execute right after the container is started.</p>
  
  <blockquote>
    <p>curl -XPUT localhost:9200/_template/http_request -d {.....}</p>
  </blockquote>
  
  <p>So I can not do it in Dockerfile or can I?</p>
  
  <p>Thank you </p>