# What is the best practice to install elasticsearch?

**URL:** <https://discuss.elastic.co/t/what-is-the-best-practice-to-install-elasticsearch/232421>\
**Category:** Elasticsearch\
**Tags:** docker\
**Created:** [May 13, 2020, 11:16am UTC](https://discuss.elastic.co/t/what-is-the-best-practice-to-install-elasticsearch/232421 "2020-05-13T11:16:02Z")\
**Posts on this page:** 3\
**Page:** 1

<div class="post-metadata">

**Author:** ![Mahebub\_Sayyed](https://sea2.discourse-cdn.com/elastic/user_avatar/discuss.elastic.co/mahebub_sayyed/32/68237_2.png) [@Mahebub\_Sayyed](https://discuss.elastic.co/u/Mahebub_Sayyed)\
**Post date:** [May 13, 2020, 11:16am UTC](https://discuss.elastic.co/t/what-is-the-best-practice-to-install-elasticsearch/232421/1 "2020-05-13T11:16:02Z")

</div>

What is the best practice to install Elasticsearch is either docker based or plain VM?

Are there any benefits in installing Elasticsearch on docker (container based)?

---

<div class="post-metadata">

**Author:** ![warkolm](https://sea2.discourse-cdn.com/elastic/user_avatar/discuss.elastic.co/warkolm/32/39224_2.png) [@warkolm](https://discuss.elastic.co/u/warkolm)\
**Post date:** [May 13, 2020, 11:41pm UTC](https://discuss.elastic.co/t/what-is-the-best-practice-to-install-elasticsearch/232421/2 "2020-05-13T23:41:14Z")

</div>

I'd suggest you use our docker repo and the containers in it - [https://www.docker.elastic.co/](https://www.docker.elastic.co/)

Docker is useful for upgrades and easy expansion of cluster size.

---

<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 10, 2020, 11:41pm UTC](https://discuss.elastic.co/t/what-is-the-best-practice-to-install-elasticsearch/232421/3 "2020-06-10T23:41:22Z")

</div>

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