# Elasticsearch abortion in docker for MacOS

**URL:** https://discuss.elastic.co/t/elasticsearch-abortion-in-docker-for-macos/178775
**Category:** Elasticsearch
**Tags:** docker
**Created:** [April 28, 2019, 2:33am UTC](https://discuss.elastic.co/t/elasticsearch-abortion-in-docker-for-macos/178775 "2019-04-28T02:33:21Z")
**Posts on this page:** 4
**Page:** 1

<div class="post-metadata">

### Author: ![vogel](https://avatars.discourse-cdn.com/v4/letter/v/e95f7d/32.png) [@vogel](https://discuss.elastic.co/u/vogel)
#### Post date: [April 28, 2019, 2:33am UTC](https://discuss.elastic.co/t/elasticsearch-abortion-in-docker-for-macos/178775/1 "2019-04-28T02:33:21Z")

</div>

I'm running ealsticsearch 7.0.0 in docker. But the elasticsearch container always terminates just after I start it.  
I've configured docker as what [official reference](https://www.elastic.co/guide/en/elasticsearch/reference/6.4/docker.html) said.  
`$ screen ~/Library/Containers/com.docker.docker/Data/vms/0/tty`  
`sysctl -w vm.max_map_count=262144`  
And an error is still logged out:

```auto
[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

```

So where can I confirm that the **vm.max\_map\_count** setting is configured correctly? Or maybe because of other reasons?

Thanks in advance!

---

<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: [April 28, 2019, 4:59am UTC](https://discuss.elastic.co/t/elasticsearch-abortion-in-docker-for-macos/178775/2 "2019-04-28T04:59:39Z")

</div>

The message isn't related to `vm.max_map_count`.

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: ![vogel](https://avatars.discourse-cdn.com/v4/letter/v/e95f7d/32.png) [@vogel](https://discuss.elastic.co/u/vogel)
#### Post date: [April 28, 2019, 9:38am UTC](https://discuss.elastic.co/t/elasticsearch-abortion-in-docker-for-macos/178775/3 "2019-04-28T09:38:41Z")

</div>

thanks a lot. I've started container with docker-compose.yml I configured and it worked.

---

<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 26, 2019, 9:38am UTC](https://discuss.elastic.co/t/elasticsearch-abortion-in-docker-for-macos/178775/4 "2019-05-26T09:38:49Z")

</div>

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