# Docker elaticsearch is not working

**URL:** <https://discuss.elastic.co/t/docker-elaticsearch-is-not-working/220346>\
**Category:** Elasticsearch\
**Tags:** docker\
**Created:** [February 21, 2020, 11:52am UTC](https://discuss.elastic.co/t/docker-elaticsearch-is-not-working/220346 "2020-02-21T11:52:05Z")\
**Posts on this page:** 2\
**Page:** 1

<div class="post-metadata">

**Author:** ![anmol27katyani](https://avatars.discourse-cdn.com/v4/letter/a/779978/32.png) [@anmol27katyani](https://discuss.elastic.co/u/anmol27katyani)\
**Post date:** [February 21, 2020, 11:52am UTC](https://discuss.elastic.co/t/docker-elaticsearch-is-not-working/220346/1 "2020-02-21T11:52:05Z")

</div>

Situation: I have a Linux system and creating a cluster of 3 nodes inside of docker but it is not working fluently

Looking for help, **Target** is to get 3 nodes running and I have access to elasticsearch.yml of individual yml of those 3 nodes.  
Task: I want to **create 3 nodes** in a cluster and I have successfully created it as well but now I wish to tweak the cluster created so my approach was to update the **elasticsearch.yml** file for the same however I followed a steps, I have not met my requirements. I did not know how to do it so followed a few steps, **Please help**

Action :  
I tried the followign commands in order  
`sudo docker build --tag=elasticsearch-custom`  
`docker build --tag=elasticsearch-custom`  
[build log](https://gist.github.com/anmol27katyani/d57b2d8d0753586e2b328f592841fb0f)  
[docker.compose.yml](https://gist.github.com/anmol27katyani/b2fb3cadf2f25620cfbb1d403bf4726c)

---

<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 20, 2020, 11:52am UTC](https://discuss.elastic.co/t/docker-elaticsearch-is-not-working/220346/2 "2020-03-20T11:52:07Z")

</div>

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