# Running benchmarks in a docker environment

**URL:** <https://discuss.elastic.co/t/running-benchmarks-in-a-docker-environment/152784>\
**Category:** Elasticsearch\
**Tags:** rally\
**Created:** [October 17, 2018, 9:30am UTC](https://discuss.elastic.co/t/running-benchmarks-in-a-docker-environment/152784 "2018-10-17T09:30:57Z")\
**Posts on this page:** 3\
**Page:** 1

<div class="post-metadata">

**Author:** ![Rifat\_Erdem\_Sahin](https://sea2.discourse-cdn.com/elastic/user_avatar/discuss.elastic.co/rifat_erdem_sahin/32/36560_2.png) [@Rifat\_Erdem\_Sahin](https://discuss.elastic.co/u/Rifat_Erdem_Sahin)\
**Post date:** [October 17, 2018, 9:30am UTC](https://discuss.elastic.co/t/running-benchmarks-in-a-docker-environment/152784/1 "2018-10-17T09:30:57Z")

</div>

any examples using the rally over containerized environments.  
How can I point it to my elastic search cluster which is create with the docker-compose and residing in 9200 and 9300 ports.

I wanna use rally when i need it and remove when it is not needed.

---

<div class="post-metadata">

**Author:** ![dliappis](https://sea2.discourse-cdn.com/elastic/user_avatar/discuss.elastic.co/dliappis/32/56174_2.png) [@dliappis](https://discuss.elastic.co/u/dliappis)\
**Post date:** [October 17, 2018, 4:40pm UTC](https://discuss.elastic.co/t/running-benchmarks-in-a-docker-environment/152784/2 "2018-10-17T16:40:31Z")

</div>

Hi,

This is no different to running Rally benchmarks against an existing Elasticsearch cluster that isn't configured and controlled by Rally itself; you need to use the [benchmark-only](https://esrally.readthedocs.io/en/stable/pipelines.html?highlight=benchmark-only#benchmark-only) pipeline and point the IP:port ports of your Dockerized Elasticsearch nodes in Rally's `target-hosts` cli parameter.

Dimitris

---

<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:** [November 14, 2018, 4:40pm UTC](https://discuss.elastic.co/t/running-benchmarks-in-a-docker-environment/152784/3 "2018-11-14T16:40:33Z")

</div>

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