# Multi node cluster with docker compose - please help

**URL:** <https://discuss.elastic.co/t/multi-node-cluster-with-docker-compose-please-help/229345>\
**Category:** Elasticsearch\
**Created:** [April 22, 2020, 7:36pm UTC](https://discuss.elastic.co/t/multi-node-cluster-with-docker-compose-please-help/229345 "2020-04-22T19:36:50Z")\
**Posts on this page:** 2\
**Page:** 1

<div class="post-metadata">

**Author:** ![Venkatesh\_Murthy](https://sea2.discourse-cdn.com/elastic/user_avatar/discuss.elastic.co/venkatesh_murthy/32/66160_2.png) [@Venkatesh\_Murthy](https://discuss.elastic.co/u/Venkatesh_Murthy)\
**Post date:** [April 22, 2020, 7:36pm UTC](https://discuss.elastic.co/t/multi-node-cluster-with-docker-compose-please-help/229345/1 "2020-04-22T19:36:50Z")

</div>

i followed word by word instructions of this link..

[https://www.elastic.co/guide/en/elasticsearch/reference/current/docker.html](https://www.elastic.co/guide/en/elasticsearch/reference/current/docker.html)

but my es02 container wont start .. it says failed to resolve host [es01] as follows:  
es02 | "at java.util.concurrent.ThreadPoolExecutor$Worker.run(ThreadPoolExecutor.java:628) [?:?]",  
es02 | "at java.lang.Thread.run(Thread.java:830) [?:?]"] }  
es02 | {"type": "server", "timestamp": "2020-04-22T19:28:21,859Z", "level": "WARN", "component": "o.e.d.SeedHostsResolver", "cluster.name": "es-docker-cluster", "node.name": "es02", "message": "failed to resolve host [es01]",  
es02 | "stacktrace": ["java.net.UnknownHostException: es01",  
es02 | "at java.net.InetAddress$CachedAddresses.get(InetAddress.java:798) ~[?:?]",  
es02 | "at java.net.InetAddress.getAllByName0(InetAddress.java:1489) ~[?:?]",  
es02 | "at java.net.InetAddress.getAllByName(InetAddress.java:1348) ~[?:?]",  
es02 | "at java.net.InetAddress.getAllByName(InetAddress.java:1282) ~[?:?]",  
es02 | "at org.elasticsearch.transport.TcpTransport.parse(TcpTransport.java:528) ~[elasticsearch-7.6.2.jar:7.6.2]",  
es02 | "at org.elasticsearch.transport.TcpTransport.addressesFromString(TcpTransport.java:470) ~[elasticsearch-7.6.2.jar:7.6.2]",  
es02 | "at org.elasticsearch.transport.TransportService.addressesFromString(TransportService.java:813) ~[elasticsearch-7.6.2.jar:7.6.2]",  
es02 | "at org.elasticsearch.discovery.SeedHostsResolver.lambda$resolveHostsLists$0(SeedHostsResolver.java:144) ~[elasticsearch-7.6.2.jar:7.6.2]",  
es02 | "at java.util.concurrent.FutureTask.run(FutureTask.java:264) ~[?:?]",  
es02 | "at org.elasticsearch.common.util.concurrent.ThreadContext$ContextPreservingRunnable.run(ThreadContext.java:633) ~[elasticsearch-7.6.2.jar:7.6.2]",  
es02 | "at java.util.concurrent.ThreadPoolExecutor.runWorker(ThreadPoolExecutor.java:1128) [?:?]",  
es02 | "at java.util.concurrent.ThreadPoolExecutor$Worker.run(ThreadPoolExecutor.java:628) [?:?]",  
es02 | "at java.lang.Thread.run(Thread.java:830) [?:?]"] }  
Gracefully stopping... (press Ctrl+C again to force)  
Stopping es03 ... done Stopping es02 ... done  
D:\kibanadocker\>  
D:\kibanadocker\>

please help what should be correcting here?

---

<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 20, 2020, 7:36pm UTC](https://discuss.elastic.co/t/multi-node-cluster-with-docker-compose-please-help/229345/2 "2020-05-20T19:36:51Z")

</div>

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