# Dockerize elasticsearch 5.x.x

**URL:** https://discuss.elastic.co/t/dockerize-elasticsearch-5-x-x/72928
**Category:** Elasticsearch
**Created:** [January 26, 2017, 4:30pm UTC](https://discuss.elastic.co/t/dockerize-elasticsearch-5-x-x/72928 "2017-01-26T16:30:40Z")
**Posts on this page:** 4
**Page:** 1

<div class="post-metadata">

### Author: ![aneric](https://avatars.discourse-cdn.com/v4/letter/a/8baadc/32.png) [@aneric](https://discuss.elastic.co/u/aneric)
#### Post date: [January 26, 2017, 4:30pm UTC](https://discuss.elastic.co/t/dockerize-elasticsearch-5-x-x/72928/1 "2017-01-26T16:30:40Z")

</div>

Dockerize Elasticsearch 5.x.x

I am trying to run ES 5.0 as a docker container. It is giving me bootstrap check failed error for max\_map\_count. Is there any way can avoid the changes in host to pass this check?

---

<div class="post-metadata">

### Author: ![JKhondhu](https://avatars.discourse-cdn.com/v4/letter/j/ed655f/32.png) [@JKhondhu](https://discuss.elastic.co/u/JKhondhu)
#### Post date: [January 26, 2017, 4:51pm UTC](https://discuss.elastic.co/t/dockerize-elasticsearch-5-x-x/72928/2 "2017-01-26T16:51:43Z")

</div>

Is modifying the vm.max\_map\_count within question?

References in aid here: [https://www.elastic.co/guide/en/elasticsearch/reference/current/vm-max-map-count.html](https://www.elastic.co/guide/en/elasticsearch/reference/current/vm-max-map-count.html)  
As well as in relation to dockerization: [https://www.elastic.co/guide/en/elasticsearch/reference/current/docker.html#docker-cli-run-prod-mode](https://www.elastic.co/guide/en/elasticsearch/reference/current/docker.html#docker-cli-run-prod-mode)

---

<div class="post-metadata">

### Author: ![aneric](https://avatars.discourse-cdn.com/v4/letter/a/8baadc/32.png) [@aneric](https://discuss.elastic.co/u/aneric)
#### Post date: [January 26, 2017, 5:25pm UTC](https://discuss.elastic.co/t/dockerize-elasticsearch-5-x-x/72928/3 "2017-01-26T17:25:22Z")

</div>

Thank you for the reply.  
I was looking for a way in which I DO NOT need to set this property at host level.  
It seems there was a patch some 2 weeks ago to fix this.

> <https://github.com/docker-library/elasticsearch/pull/153>

Thanks,  
Aneri

---

<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: [February 23, 2017, 5:25pm UTC](https://discuss.elastic.co/t/dockerize-elasticsearch-5-x-x/72928/4 "2017-02-23T17:25:37Z")

</div>

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