# Automatic edit of file in dockerized elasticsearch/kibana

**URL:** <https://discuss.elastic.co/t/automatic-edit-of-file-in-dockerized-elasticsearch-kibana/220949>\
**Category:** Elasticsearch\
**Tags:** docker\
**Created:** [February 26, 2020, 4:00am UTC](https://discuss.elastic.co/t/automatic-edit-of-file-in-dockerized-elasticsearch-kibana/220949 "2020-02-26T04:00:02Z")\
**Posts on this page:** 2\
**Page:** 1

<div class="post-metadata">

**Author:** ![richylyq](https://avatars.discourse-cdn.com/v4/letter/r/41988e/32.png) [@richylyq](https://discuss.elastic.co/u/richylyq)\
**Post date:** [February 26, 2020, 4:00am UTC](https://discuss.elastic.co/t/automatic-edit-of-file-in-dockerized-elasticsearch-kibana/220949/1 "2020-02-26T04:00:02Z")

</div>

I have my dockerized container for elasticsearch and kibana running, with it automatically installing some plugins once i start the docker container.

I need to edit the config/elasticsearch.yml file to enable the usage of opennlp-ingest and i am trying to find the way to get it done similar to the way i have installed the plugins through a file as shown below

```auto
ARG ELASTIC_VERSION="$ELASTIC_VERSION"

FROM docker.elastic.co/elasticsearch/elasticsearch:${ELASTIC_VERSION}

RUN bin/elasticsearch-plugin install https://github.com/spinscale/elasticsearch-ingest-opennlp/releases/download/7.6.0.1/ingest-opennlp-7.6.0.1.zip
RUN bin/elasticsearch-plugin install mapper-annotated-text
RUN bin/elasticsearch-plugin install analysis-phonetic
RUN bin/elasticsearch-plugin install ingest-attachment --batch
RUN bin/ingest-opennlp/download-models

```

---

<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:** [March 25, 2020, 4:00am UTC](https://discuss.elastic.co/t/automatic-edit-of-file-in-dockerized-elasticsearch-kibana/220949/2 "2020-03-25T04:00:05Z")

</div>

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