# Start Elasticsearch with preloaded index

**URL:** <https://discuss.elastic.co/t/start-elasticsearch-with-preloaded-index/330299>\
**Category:** Elasticsearch\
**Tags:** docker\
**Created:** [April 19, 2023, 11:58am UTC](https://discuss.elastic.co/t/start-elasticsearch-with-preloaded-index/330299 "2023-04-19T11:58:12Z")\
**Posts on this page:** 3\
**Page:** 1

<div class="post-metadata">

**Author:** ![ANUBHAV\_GUPTA](https://avatars.discourse-cdn.com/v4/letter/a/7ea924/32.png) [@ANUBHAV\_GUPTA](https://discuss.elastic.co/u/ANUBHAV_GUPTA)\
**Post date:** [April 19, 2023, 11:58am UTC](https://discuss.elastic.co/t/start-elasticsearch-with-preloaded-index/330299/1 "2023-04-19T11:58:12Z")

</div>

Is there any way we can start the elasticsearch instance with a preloaded index data?  
Just like we do in postgres: [Creating a Docker image with a preloaded database | Coding with Coffee](https://cadu.dev/creating-a-docker-image-with-database-preloaded/#:~:text=FROM%20postgres%3A11%2Dalpine%0A%0ACOPY%20test_dump.sql%20/docker%2Dentrypoint%2Dinitdb.d/)

---

<div class="post-metadata">

**Author:** ![dadoonet](https://sea2.discourse-cdn.com/elastic/user_avatar/discuss.elastic.co/dadoonet/32/137187_2.png) [@dadoonet](https://discuss.elastic.co/u/dadoonet)\
**Post date:** [April 19, 2023, 4:54pm UTC](https://discuss.elastic.co/t/start-elasticsearch-with-preloaded-index/330299/2 "2023-04-19T16:54:53Z")

</div>

I think that's a similar discussion as here: [Want to use Elasticsearch as a base image](https://discuss.elastic.co/t/want-to-use-elasticsearch-as-a-base-image/330295)

---

<div class="post-metadata">

**Author:** ![warkolm](https://sea2.discourse-cdn.com/elastic/user_avatar/discuss.elastic.co/warkolm/32/39224_2.png) [@warkolm](https://discuss.elastic.co/u/warkolm)\
**Post date:** [April 19, 2023, 10:00pm UTC](https://discuss.elastic.co/t/start-elasticsearch-with-preloaded-index/330299/3 "2023-04-19T22:00:38Z")

</div>


