# OpenDistro Elasticsearch - Repository Empty After Restart

**URL:** <https://discuss.elastic.co/t/opendistro-elasticsearch-repository-empty-after-restart/228595>\
**Category:** Elasticsearch\
**Tags:** docker\
**Created:** [April 17, 2020, 10:28pm UTC](https://discuss.elastic.co/t/opendistro-elasticsearch-repository-empty-after-restart/228595 "2020-04-17T22:28:12Z")\
**Posts on this page:** 3\
**Page:** 1

<div class="post-metadata">

**Author:** ![kvickery](https://avatars.discourse-cdn.com/v4/letter/k/8c91f0/32.png) [@kvickery](https://discuss.elastic.co/u/kvickery)\
**Post date:** [April 17, 2020, 10:28pm UTC](https://discuss.elastic.co/t/opendistro-elasticsearch-repository-empty-after-restart/228595/1 "2020-04-17T22:28:12Z")

</div>

I have installed OpenDistro 1.4.0 and I launch my Elasticsearch build with:

```auto
docker run -p 9200:9200 -p 9600:9600 -e "discovery.type=single-node" elasticsearch-wao:latest

```

I can create indexes, pipelines, index files, and perform searches - but if I shut down my container and start it up again the repository is empty (no indexes). What am I not doing right?

---

<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 18, 2020, 2:21am UTC](https://discuss.elastic.co/t/opendistro-elasticsearch-repository-empty-after-restart/228595/2 "2020-04-18T02:21:06Z")

</div>

We don't support this non elastic official build here. So you should ask for help in their forums.

But as the question is more a Docker question IMO, may be have a look at volumes? The volume might not survive here after a restart.

---

<div class="post-metadata">

**Author:** ![system](https://us1.discourse-cdn.com/elastic/original/3X/1/a/1ac57faf039f6b580b3f104ef42a2a89e41014de.png) [@system](https://discuss.elastic.co/u/system)\
**Post date:** [May 16, 2020, 2:21am UTC](https://discuss.elastic.co/t/opendistro-elasticsearch-repository-empty-after-restart/228595/3 "2020-05-16T02:21:06Z")

</div>

This topic was automatically closed 28 days after the last reply. New replies are no longer allowed.
