# Docker elasticsearch 7.3.2 dont work

**URL:** <https://discuss.elastic.co/t/docker-elasticsearch-7-3-2-dont-work/224543>\
**Category:** Elasticsearch\
**Created:** [March 22, 2020, 3:34am UTC](https://discuss.elastic.co/t/docker-elasticsearch-7-3-2-dont-work/224543 "2020-03-22T03:34:10Z")\
**Posts on this page:** 2\
**Page:** 1

<div class="post-metadata">

**Author:** ![Rafael\_Antonio\_Rodri](https://sea2.discourse-cdn.com/elastic/user_avatar/discuss.elastic.co/rafael_antonio_rodri/32/64851_2.png) [@Rafael\_Antonio\_Rodri](https://discuss.elastic.co/u/Rafael_Antonio_Rodri)\
**Post date:** [March 22, 2020, 3:34am UTC](https://discuss.elastic.co/t/docker-elasticsearch-7-3-2-dont-work/224543/1 "2020-03-22T03:34:11Z")

</div>

Hello good afternoon.  
Friends, excuse me, I'm trying to do a docker, but it's throwing an error at me.

this is the docker-compose.yml

version: '2.2'  
services:  
es01:  
image: [docker.elastic.co/elasticsearch/elasticsearch:7.3.2](http://docker.elastic.co/elasticsearch/elasticsearch:7.3.2)  
container\_name: es01  
privileged: true  
hostname: es01  
extra\_hosts:  
- "es01:172.20.0.2"  
- "es02:172.20.0.3"  
- "es03:172.20.0.4"  
environment:  
- cluster.name=cluster  
- node.name=es01  
- network.host=es01  
- http.port=9200  
- transport.host=localhost  
- transport.port=9300  
- discovery.seed\_hosts=es01,es02,es03  
- cluster.initial\_master\_nodes=es01  
- node.master=true  
- node.voting\_only=false  
- node.data=false  
- node.ingest=false  
- node.ml=false  
- xpack.ml.enabled=true  
- cluster.remote.connect=false  
- bootstrap.memory\_lock=true  
- "ES\_JAVA\_OPTS=-Xms512m -Xmx512m -Des.transport.cname\_in\_publish\_address=true"  
ulimits:  
memlock:  
soft: -1  
hard: -1  
volumes:  
- /home/user/docker/data01:/usr/share/elasticsearch/data  
ports:  
- 9200:9200  
- 9300:9300  
networks:  
elastic:  
ipv4\_address: 172.20.0.2  
es02:  
image: [docker.elastic.co/elasticsearch/elasticsearch:7.3.2](http://docker.elastic.co/elasticsearch/elasticsearch:7.3.2)  
container\_name: es02  
privileged: true  
hostname: es02  
extra\_hosts:  
- "es01:172.20.0.2"  
- "es02:172.20.0.3"  
- "es03:172.20.0.4"  
environment:  
- cluster.name=cluster  
- node.name=es02  
- network.host=es02  
- http.port=9200  
- transport.host=localhost  
- transport.port=9300  
- discovery.seed\_hosts=es01,es02,es03  
- cluster.initial\_master\_nodes=es01  
- node.master=true  
- node.voting\_only=false  
- node.data=true  
- node.ingest=true  
- node.ml=false  
- xpack.ml.enabled=true  
- cluster.remote.connect=false  
- bootstrap.memory\_lock=true  
- "ES\_JAVA\_OPTS=-Xms512m -Xmx512m"  
ulimits:  
memlock:  
soft: -1  
hard: -1  
volumes:  
- /home/user/docker/data02:/usr/share/elasticsearch/data  
ports:  
- 9201:9200  
- 9301:9300  
networks:  
elastic:  
ipv4\_address: 172.20.0.3  
es03:  
image: [docker.elastic.co/elasticsearch/elasticsearch:7.3.2](http://docker.elastic.co/elasticsearch/elasticsearch:7.3.2)  
container\_name: es03  
privileged: true  
hostname: es03  
extra\_hosts:  
- "es01:172.20.0.2"  
- "es02:172.20.0.3"  
- "es03:172.20.0.4"  
environment:  
- cluster.name=cluster  
- node.name=es03  
- network.host=es03  
- http.port=9200  
- transport.host=localhost  
- transport.port=9300  
- discovery.seed\_hosts=es01,es02,es03  
- cluster.initial\_master\_nodes=es01  
- node.master=true  
- node.voting\_only=false  
- node.data=true  
- node.ingest=true  
- node.ml=false  
- xpack.ml.enabled=true  
- cluster.remote.connect=false  
- bootstrap.memory\_lock=true  
- "ES\_JAVA\_OPTS=-Xms512m -Xmx512m"  
ulimits:  
memlock:  
soft: -1  
hard: -1  
volumes:  
- /home/user/docker/data03:/usr/share/elasticsearch/data  
ports:  
- 9202:9200  
- 9302:9300  
networks:  
elastic:  
ipv4\_address: 172.20.0.4  
volumes:  
data01:  
driver: local  
data02:  
driver: local  
data03:  
driver: local  
networks:  
elastic:  
ipam:  
config:  
- subnet: 172.20.0.0/24  
ip\_range: 172.20.0.0/24

I have made a lot of arrangements, but I do not understand why it throws me the following error:

es02 | {"type": "server", "timestamp": "2020-03-22T03:29:51,925+0000", "level": "WARN", "component": "o.e.c.c.ClusterFormationFailureHelper", "cluster.name": "cluster", "node.name": "es02", "message": "master not discovered yet, this node has not previously joined a bootstrapped (v7+) cluster, and this node must discover master-eligible nodes [es01] to bootstrap a cluster: have discovered [{es02}{n7LOlgofTK2yxyQdeI5ogA}{\_HPlHq5dQ1aANwgvojg5Sw}{localhost}{127.0.0.1:9300}{dim}{xpack.installed=true}]; discovery will continue using [172.20.0.2:9300, 172.20.0.3:9300, 172.20.0.4:9300] from hosts providers and [{es02}{n7LOlgofTK2yxyQdeI5ogA}{\_HPlHq5dQ1aANwgvojg5Sw}{localhost}{127.0.0.1:9300}{dim}{xpack.installed=true}] from last-known cluster state; node term 0, last-accepted version 0 in term 0" }  
es03 | {"type": "server", "timestamp": "2020-03-22T03:29:52,162+0000", "level": "WARN", "component": "o.e.c.c.ClusterFormationFailureHelper", "cluster.name": "cluster", "node.name": "es03", "message": "master not discovered yet, this node has not previously joined a bootstrapped (v7+) cluster, and this node must discover master-eligible nodes [es01] to bootstrap a cluster: have discovered [{es03}{D9fbndDAR0ar4jq9IDLejA}{0awVC4qZQ\_ethGOUgPEziw}{localhost}{127.0.0.1:9300}{dim}{xpack.installed=true}]; discovery will continue using [172.20.0.2:9300, 172.20.0.3:9300, 172.20.0.4:9300] from hosts providers and [{es03}{D9fbndDAR0ar4jq9IDLejA}{0awVC4qZQ\_ethGOUgPEziw}{localhost}{127.0.0.1:9300}{dim}{xpack.installed=true}] from last-known cluster state; node term 0, last-accepted version 0 in term 0" }

---

<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:** [April 19, 2020, 3:34am UTC](https://discuss.elastic.co/t/docker-elasticsearch-7-3-2-dont-work/224543/2 "2020-04-19T03:34:13Z")

</div>

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