# Elasticsearch 7.1.0 crash with bootstrap checks failed

**URL:** <https://discuss.elastic.co/t/elasticsearch-7-1-0-crash-with-bootstrap-checks-failed/190190>\
**Category:** Elasticsearch\
**Created:** [July 12, 2019, 9:36am UTC](https://discuss.elastic.co/t/elasticsearch-7-1-0-crash-with-bootstrap-checks-failed/190190 "2019-07-12T09:36:29Z")\
**Posts on this page:** 8\
**Page:** 1

<div class="post-metadata">

**Author:** ![Karuppasamy\_K](https://sea2.discourse-cdn.com/elastic/user_avatar/discuss.elastic.co/karuppasamy_k/32/49264_2.png) [@Karuppasamy\_K](https://discuss.elastic.co/u/Karuppasamy_K)\
**Post date:** [July 12, 2019, 9:36am UTC](https://discuss.elastic.co/t/elasticsearch-7-1-0-crash-with-bootstrap-checks-failed/190190/1 "2019-07-12T09:36:30Z")

</div>

I tried to run elasticsearch docker image from private repository, but its getting crash with _ERROR: [1] bootstrap checks failed._

I found " **bootstrap check should be enabled**"Des.enforce.bootstrap.checks=true" in elastic website. but **i'm not clear** how to enable it where to enable it.

Can i get any examples to enable it ?

---

<div class="post-metadata">

**Author:** ![dadoonet](https://sea2.discourse-cdn.com/elastic/user_avatar/discuss.elastic.co/dadoonet/32/137187_2.png) [@dadoonet](https://discuss.elastic.co/u/dadoonet)\
**Post date:** [July 12, 2019, 10:13am UTC](https://discuss.elastic.co/t/elasticsearch-7-1-0-crash-with-bootstrap-checks-failed/190190/2 "2019-07-12T10:13:19Z")

</div>

You are not sharing the logs so I can't tell exactly what you have to fix, but at least just read [https://www.elastic.co/guide/en/elasticsearch/reference/current/bootstrap-checks.html](https://www.elastic.co/guide/en/elasticsearch/reference/current/bootstrap-checks.html)

---

<div class="post-metadata">

**Author:** ![Karuppasamy\_K](https://sea2.discourse-cdn.com/elastic/user_avatar/discuss.elastic.co/karuppasamy_k/32/49264_2.png) [@Karuppasamy\_K](https://discuss.elastic.co/u/Karuppasamy_K)\
**Post date:** [July 12, 2019, 10:19am UTC](https://discuss.elastic.co/t/elasticsearch-7-1-0-crash-with-bootstrap-checks-failed/190190/3 "2019-07-12T10:19:43Z")

</div>

Thanks.

I saw same already, but I'm not clear where i have to edit .

i used " docker run -p 9200:9200 -p 9300:9300 --name=app\_name -d --network=mynetwork image\_repo"

Log :  
_{"type": "server", "timestamp": "2019-07-12T06:28:09,486+0000", "level": "INFO", "component": "o.e.b.BootstrapChecks", "cluster.name": "docker-cluster", "node.name": "830a46f1111", "message": "bound or publishing to a non-loopback address, enforcing bootstrap checks" }_  
_ERROR: [1] bootstrap checks failed_

---

<div class="post-metadata">

**Author:** ![dadoonet](https://sea2.discourse-cdn.com/elastic/user_avatar/discuss.elastic.co/dadoonet/32/137187_2.png) [@dadoonet](https://discuss.elastic.co/u/dadoonet)\
**Post date:** [July 12, 2019, 10:46am UTC](https://discuss.elastic.co/t/elasticsearch-7-1-0-crash-with-bootstrap-checks-failed/190190/4 "2019-07-12T10:46:21Z")

</div>

The important log lines are the next ones.

Please format your code, logs or configuration files using `</>` icon as explained in [this guide](https://discuss.elastic.co/t/about-the-elasticsearch-category/21) and not the citation button. It will make your post more readable.

Or use markdown style like:

````
```
CODE
```

````

This is the icon to use if you are not using markdown format:

 ![image](https://us1.discourse-cdn.com/elastic/original/3X/7/e/7e6e239431ec2d71cbf1beef741f2e93e7cc762c.jpg)

There's a live preview panel for exactly this reasons.

Lots of people read these forums, and many of them will simply skip over a post that is difficult to read, because it's just too large an investment of their time to try and follow a wall of badly formatted text.  
If your goal is to get an answer to your questions, it's in your interest to make it as easy to read and understand as possible.

---

<div class="post-metadata">

**Author:** ![Karuppasamy\_K](https://sea2.discourse-cdn.com/elastic/user_avatar/discuss.elastic.co/karuppasamy_k/32/49264_2.png) [@Karuppasamy\_K](https://discuss.elastic.co/u/Karuppasamy_K)\
**Post date:** [July 15, 2019, 8:14am UTC](https://discuss.elastic.co/t/elasticsearch-7-1-0-crash-with-bootstrap-checks-failed/190190/5 "2019-07-15T08:14:57Z")

</div>

```auto
log:

{"type": "server", "timestamp": "2019-07-12T06:28:09,486+0000", "level": "INFO", "component": "o.e.b.BootstrapChecks", "cluster.name": "docker-cluster", "node.name": "830a46f1cbd4", "message": "bound or publishing to a non-loopback address, enforcing bootstrap checks" }
ERROR: [1] bootstrap checks failed
[1]: the default discovery settings are unsuitable for production use; at least one of [discovery.seed_hosts, discovery.seed_providers, cluster.initial_master_nodes] must be configured
{"type": "server", "timestamp": "2019-07-12T06:28:09,505+0000", "level": "INFO", "component": "o.e.n.Node", "cluster.name": "docker-cluster", "node.name": "830a46f1cbd4", "message": "stopping ..." }

```

---

<div class="post-metadata">

**Author:** ![dadoonet](https://sea2.discourse-cdn.com/elastic/user_avatar/discuss.elastic.co/dadoonet/32/137187_2.png) [@dadoonet](https://discuss.elastic.co/u/dadoonet)\
**Post date:** [July 15, 2019, 9:50am UTC](https://discuss.elastic.co/t/elasticsearch-7-1-0-crash-with-bootstrap-checks-failed/190190/6 "2019-07-15T09:50:33Z")

</div>

Please read [https://www.elastic.co/guide/en/elasticsearch/reference/current/bootstrap-checks.html](https://www.elastic.co/guide/en/elasticsearch/reference/current/bootstrap-checks.html)

---

<div class="post-metadata">

**Author:** ![Karuppasamy\_K](https://sea2.discourse-cdn.com/elastic/user_avatar/discuss.elastic.co/karuppasamy_k/32/49264_2.png) [@Karuppasamy\_K](https://discuss.elastic.co/u/Karuppasamy_K)\
**Post date:** [July 16, 2019, 7:12am UTC](https://discuss.elastic.co/t/elasticsearch-7-1-0-crash-with-bootstrap-checks-failed/190190/7 "2019-07-16T07:12:22Z")

</div>

Thanks,  
It works after adding "_discovery.seed\_hosts : 127.0.0.1:9300_" in eleasticsearch.yml file.

---

<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:** [August 13, 2019, 7:12am UTC](https://discuss.elastic.co/t/elasticsearch-7-1-0-crash-with-bootstrap-checks-failed/190190/8 "2019-08-13T07:12:22Z")

</div>

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