# Running elasticsearch on Azure Container Services (Swarm)

**URL:** <https://discuss.elastic.co/t/running-elasticsearch-on-azure-container-services-swarm/118049>\
**Category:** Elasticsearch\
**Created:** [February 1, 2018, 3:20pm UTC](https://discuss.elastic.co/t/running-elasticsearch-on-azure-container-services-swarm/118049 "2018-02-01T15:20:21Z")\
**Posts on this page:** 2\
**Page:** 1

<div class="post-metadata">

**Author:** ![NickHowden](https://avatars.discourse-cdn.com/v4/letter/n/87869e/32.png) [@NickHowden](https://discuss.elastic.co/u/NickHowden)\
**Post date:** [February 1, 2018, 3:20pm UTC](https://discuss.elastic.co/t/running-elasticsearch-on-azure-container-services-swarm/118049/1 "2018-02-01T15:20:21Z")

</div>

I am trying to run a set of elasticsearch docker containers on Azure Container Services (acs) but am falling foul of the vm.max\_map\_count minimum of 262144.

I create the Azure containers (az acs create --orchestrator-type=Swarm ...)  
And then launch my docker containers with docker- compose

As far as I can see, there are no options when creating the Swarm Agents to set any kernel parameters; and similarly I don't see any options when launching the elasticsearch docker container to set the max\_map\_count

Has anyone managed to get elasticsearch running on ACS with docker Swarm? (or any suggestions how I set the max\_map\_count on ACS Swarm agents?)

Many thanks for any help

Nick

---

<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:** [March 1, 2018, 3:20pm UTC](https://discuss.elastic.co/t/running-elasticsearch-on-azure-container-services-swarm/118049/2 "2018-03-01T15:20:34Z")

</div>

Closed on March 1, 2018, 3:20pm UTC

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