# The default discovery settings are unsuitable for production use;

**URL:** <https://discuss.elastic.co/t/the-default-discovery-settings-are-unsuitable-for-production-use/181009>\
**Category:** Elasticsearch\
**Created:** [May 14, 2019, 1:31pm UTC](https://discuss.elastic.co/t/the-default-discovery-settings-are-unsuitable-for-production-use/181009 "2019-05-14T13:31:15Z")\
**Posts on this page:** 4\
**Page:** 1

<div class="post-metadata">

**Author:** ![decodeit](https://sea2.discourse-cdn.com/elastic/user_avatar/discuss.elastic.co/decodeit/32/46023_2.png) [@decodeit](https://discuss.elastic.co/u/decodeit)\
**Post date:** [May 14, 2019, 1:31pm UTC](https://discuss.elastic.co/t/the-default-discovery-settings-are-unsuitable-for-production-use/181009/1 "2019-05-14T13:31:15Z")

</div>

`{ "type": "server", "timestamp": "2019-05-14T13:15:27,972+0000", "level": "DEBUG", "component": "o.e.a.ActionModule", "cluster.name": "docker-cluster", "node.name": "309a9b4e906e", "message": "Using REST wrapper from plugin org.elasticsearch.xpack.security.Security" } {"type": "server", "timestamp": "2019-05-14T13:15:28,334+0000", "level": "INFO", "component": "o.e.d.DiscoveryModule", "cluster.name": "docker-cluster", "node.name": "309a9b4e906e", "message": "using discovery type [zen] and seed hosts providers [settings]" } {"type": "server", "timestamp": "2019-05-14T13:15:29,654+0000", "level": "INFO", "component": "o.e.n.Node", "cluster.name": "docker-cluster", "node.name": "309a9b4e906e", "message": "initialized" } {"type": "server", "timestamp": "2019-05-14T13:15:29,655+0000", "level": "INFO", "component": "o.e.n.Node", "cluster.name": "docker-cluster", "node.name": "309a9b4e906e", "message": "starting ..." } {"type": "server", "timestamp": "2019-05-14T13:15:30,020+0000", "level": "INFO", "component": "o.e.t.TransportService", "cluster.name": "docker-cluster", "node.name": "309a9b4e906e", "message": "publish_address {172.17.0.2:9300}, bound_addresses {0.0.0.0:9300}" } {"type": "server", "timestamp": "2019-05-14T13:15:30,057+0000", "level": "INFO", "component": "o.e.b.BootstrapChecks", "cluster.name": "docker-cluster", "node.name": "309a9b4e906e", "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-05-14T13:15:30,083+0000", "level": "INFO", "component": "o.e.n.Node", "cluster.name": "docker-cluster", "node.name": "309a9b4e906e", "message": "stopping ..." } {"type": "server", "timestamp": "2019-05-14T13:15:30,178+0000", "level": "INFO", "component": "o.e.n.Node", "cluster.name": "docker-cluster", "node.name": "309a9b4e906e", "message": "stopped" } {"type": "server", "timestamp": "2019-05-14T13:15:30,179+0000", "level": "INFO", "component": "o.e.n.Node", "cluster.name": "docker-cluster", "node.name": "309a9b4e906e", "message": "closing ..." } {"type": "server", "timestamp": "2019-05-14T13:15:30,256+0000", "level": "INFO", "component": "o.e.n.Node", "cluster.name": "docker-cluster", "node.name": "309a9b4e906e", "message": "closed" }`

I get this error when I try to run elastic search. I am creating a container from docker hub of elasticsearch and trying to run 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:** [May 14, 2019, 3:15pm UTC](https://discuss.elastic.co/t/the-default-discovery-settings-are-unsuitable-for-production-use/181009/2 "2019-05-14T15:15:55Z")

</div>

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.  
Please update your post.

Could you share also how do you start the container?

---

<div class="post-metadata">

**Author:** ![decodeit](https://sea2.discourse-cdn.com/elastic/user_avatar/discuss.elastic.co/decodeit/32/46023_2.png) [@decodeit](https://discuss.elastic.co/u/decodeit)\
**Post date:** [May 14, 2019, 3:44pm UTC](https://discuss.elastic.co/t/the-default-discovery-settings-are-unsuitable-for-production-use/181009/3 "2019-05-14T15:44:06Z")

</div>

The issue has been fixed.  
I already had the stopped elaticsearch container in docker, which I started as docker start container\_name

---

<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:** [June 11, 2019, 3:44pm UTC](https://discuss.elastic.co/t/the-default-discovery-settings-are-unsuitable-for-production-use/181009/4 "2019-06-11T15:44:07Z")

</div>

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