# Best way to setup latest version of ES & Kibana using Docker?

**URL:** <https://discuss.elastic.co/t/best-way-to-setup-latest-version-of-es-kibana-using-docker/299334>\
**Category:** Elasticsearch\
**Tags:** docker\
**Created:** [March 10, 2022, 12:41pm UTC](https://discuss.elastic.co/t/best-way-to-setup-latest-version-of-es-kibana-using-docker/299334 "2022-03-10T12:41:26Z")\
**Posts on this page:** 2\
**Page:** 1

<div class="post-metadata">

**Author:** ![Hazem\_Alabiad](https://sea2.discourse-cdn.com/elastic/user_avatar/discuss.elastic.co/hazem_alabiad/32/102870_2.png) [@Hazem\_Alabiad](https://discuss.elastic.co/u/Hazem_Alabiad)\
**Post date:** [March 10, 2022, 12:41pm UTC](https://discuss.elastic.co/t/best-way-to-setup-latest-version-of-es-kibana-using-docker/299334/1 "2022-03-10T12:41:26Z")

</div>

What is the best way to install ES & Kibana `v8.1.0` using Docker?  
I tried many tutorials but, seems that there are many security constraints that make the process trickier e.g. `password`, `enrollment_token` .... etc.

And for setting up the password for Kibana & ES in `.env` file, from where to get that password?

Also, how can I test the availability using `curl`? Whenever I try to test using curl I get this response:  
`curl: (52) Empty reply from server`

---

<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:** [April 7, 2022, 12:42pm UTC](https://discuss.elastic.co/t/best-way-to-setup-latest-version-of-es-kibana-using-docker/299334/2 "2022-04-07T12:42:12Z")

</div>

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