# Easy Install

**URL:** <https://discuss.elastic.co/t/easy-install/303451>\
**Category:** Elasticsearch\
**Tags:** docker\
**Created:** [April 27, 2022, 10:12pm UTC](https://discuss.elastic.co/t/easy-install/303451 "2022-04-27T22:12:30Z")\
**Posts on this page:** 4\
**Page:** 1

<div class="post-metadata">

**Author:** ![Dan\_Lange](https://sea2.discourse-cdn.com/elastic/user_avatar/discuss.elastic.co/dan_lange/32/99119_2.png) [@Dan\_Lange](https://discuss.elastic.co/u/Dan_Lange)\
**Post date:** [April 27, 2022, 10:12pm UTC](https://discuss.elastic.co/t/easy-install/303451/1 "2022-04-27T22:12:30Z")

</div>

Hi,  
I need an easy and repeatable way to install Elasticsearch, Kibana, and Elastic Agent for a demo.  
I don't care about security or scalability.  
Can anyone point me to directions for how to do that?  
I tried using the docker-compose instructions ([Install Elasticsearch with Docker | Elasticsearch Guide [8.1] | Elastic](https://www.elastic.co/guide/en/elasticsearch/reference/current/docker.html))  
Unfortunately, that does not include Elastic Agent.  
When I tried to combine that deployment with the instructions for installing ElasticAgent using docker compose ([Run Elastic Agent in a container | Fleet and Elastic Agent Guide [8.1] | Elastic](https://www.elastic.co/guide/en/fleet/8.1/elastic-agent-container.html))  
I ran into all kinds of trouble with docker networking, certificates, and enrollment tokens that I haven't been able to solve.

---

<div class="post-metadata">

**Author:** ![Tryp](https://sea2.discourse-cdn.com/elastic/user_avatar/discuss.elastic.co/tryp/32/104951_2.png) [@Tryp](https://discuss.elastic.co/u/Tryp)\
**Post date:** [April 28, 2022, 12:43am UTC](https://discuss.elastic.co/t/easy-install/303451/2 "2022-04-28T00:43:12Z")

</div>

Man do I ever have the script for you

> **[Quickly deploy elasticsearch with docker – Justin Lim](https://www.gooksu.com/2021/02/quickly-deploy-elasticsearch-with-docker/)**

It works great and as long as you tweak your JVM heap memory and mem\_limit in the script 1st it should install very easily without errors.

---

<div class="post-metadata">

**Author:** ![Dan\_Lange](https://sea2.discourse-cdn.com/elastic/user_avatar/discuss.elastic.co/dan_lange/32/99119_2.png) [@Dan\_Lange](https://discuss.elastic.co/u/Dan_Lange)\
**Post date:** [April 28, 2022, 4:18pm UTC](https://discuss.elastic.co/t/easy-install/303451/3 "2022-04-28T16:18:10Z")

</div>

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:** [May 26, 2022, 4:18pm UTC](https://discuss.elastic.co/t/easy-install/303451/4 "2022-05-26T16:18:23Z")

</div>

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