# Elasticsearch with Docker

**URL:** <https://discuss.elastic.co/t/elasticsearch-with-docker/337068>\
**Category:** Elasticsearch\
**Tags:** docker\
**Created:** [June 28, 2023, 11:30am UTC](https://discuss.elastic.co/t/elasticsearch-with-docker/337068 "2023-06-28T11:30:39Z")\
**Posts on this page:** 3\
**Page:** 1

<div class="post-metadata">

**Author:** ![anderstr1](https://avatars.discourse-cdn.com/v4/letter/a/76d3ee/32.png) [@anderstr1](https://discuss.elastic.co/u/anderstr1)\
**Post date:** [June 28, 2023, 11:30am UTC](https://discuss.elastic.co/t/elasticsearch-with-docker/337068/1 "2023-06-28T11:30:39Z")

</div>

We have already set up Elasticsearch version 7.10.2 using the official docker image, and our single-node cluster is running fine. We need to use this specific Elasticsearch version since it is required by the Mediawiki application it is connected to.

Elasticsearch and Mediawiki are running in two different containers in a PaaS environment. As of now, whenever we are making updates in the Dockerfile for the application a completely new container is created, which will require all pages to be reindexed since the previous container is deleted. As far as I understand, it is impossible to start the Elasticsearch node when it already contains data in the data path: /usr/share/elasticsearch/data/nodes/0. So therefore we cannot use a volume mount which contains already indexed pages.

My question is: is there a way we can start our application without the need of reindexing all pages?

---

<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:** [June 28, 2023, 11:30am UTC](https://discuss.elastic.co/t/elasticsearch-with-docker/337068/2 "2023-06-28T11:30:39Z")

</div>

Elasticsearch version 7.10.2 is [EOL](https://www.elastic.co/support/eol) and no longer supported. Please upgrade ASAP.

(This is an automated response from your friendly Elastic bot. Please report this post if you have any suggestions or concerns :elasticheart: )

---

<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:** [July 26, 2023, 11:30am UTC](https://discuss.elastic.co/t/elasticsearch-with-docker/337068/3 "2023-07-26T11:30:43Z")

</div>

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