# Recomendations, 3 elastic docker nodes on a VM

**URL:** <https://discuss.elastic.co/t/recomendations-3-elastic-docker-nodes-on-a-vm/211492>\
**Category:** Elasticsearch\
**Tags:** docker\
**Created:** [December 11, 2019, 4:00pm UTC](https://discuss.elastic.co/t/recomendations-3-elastic-docker-nodes-on-a-vm/211492 "2019-12-11T16:00:31Z")\
**Posts on this page:** 3\
**Page:** 1

<div class="post-metadata">

**Author:** ![Incauto](https://sea2.discourse-cdn.com/elastic/user_avatar/discuss.elastic.co/incauto/32/60149_2.png) [@Incauto](https://discuss.elastic.co/u/Incauto)\
**Post date:** [December 11, 2019, 4:00pm UTC](https://discuss.elastic.co/t/recomendations-3-elastic-docker-nodes-on-a-vm/211492/1 "2019-12-11T16:00:31Z")

</div>

Hi, I have 3 virtual machines, one will be use by logstash, another by kibana, and the third one, the more resourcefull one, will be use by elastic, I was thinking to install elastic on docker in this machine, to create 3 elastic docker nodes on the same machine, what do you think of this? anyone has experience with this configuration?

---

<div class="post-metadata">

**Author:** ![amrmostafazaki](https://sea2.discourse-cdn.com/elastic/user_avatar/discuss.elastic.co/amrmostafazaki/32/58456_2.png) [@amrmostafazaki](https://discuss.elastic.co/u/amrmostafazaki)\
**Post date:** [December 11, 2019, 11:29pm UTC](https://discuss.elastic.co/t/recomendations-3-elastic-docker-nodes-on-a-vm/211492/2 "2019-12-11T23:29:18Z")

</div>

Hello @Incauto,

Here an example of [docker-compose](https://gist.github.com/amrmostafazaki/d7af0e0dbae726108438c246fa8eb606) file but doesn't contain logstash instance but if you understand the mechanism of file, you can adjust it with you want.

Thanks,

---

<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:** [January 8, 2020, 11:29pm UTC](https://discuss.elastic.co/t/recomendations-3-elastic-docker-nodes-on-a-vm/211492/3 "2020-01-08T23:29:25Z")

</div>

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