# How to build docker images for logstash, kibana, elastic

**URL:** <https://discuss.elastic.co/t/how-to-build-docker-images-for-logstash-kibana-elastic/342754>\
**Category:** Kibana\
**Tags:** docker\
**Created:** [September 11, 2023, 4:46pm UTC](https://discuss.elastic.co/t/how-to-build-docker-images-for-logstash-kibana-elastic/342754 "2023-09-11T16:46:53Z")\
**Posts on this page:** 5\
**Page:** 1

<div class="post-metadata">

**Author:** ![balakr](https://avatars.discourse-cdn.com/v4/letter/b/c89c15/32.png) [@balakr](https://discuss.elastic.co/u/balakr)\
**Post date:** [September 11, 2023, 4:46pm UTC](https://discuss.elastic.co/t/how-to-build-docker-images-for-logstash-kibana-elastic/342754/1 "2023-09-11T16:46:53Z")

</div>

i am trying to learn elastic, kibana, logstash. i have cloned source copies. what are the steps to build docker images, can someone point me to link/video which helps me in installing dependencies and build docker image

---

<div class="post-metadata">

**Author:** ![nickpeihl](https://sea2.discourse-cdn.com/elastic/user_avatar/discuss.elastic.co/nickpeihl/32/112622_2.png) [@nickpeihl](https://discuss.elastic.co/u/nickpeihl)\
**Post date:** [September 11, 2023, 5:49pm UTC](https://discuss.elastic.co/t/how-to-build-docker-images-for-logstash-kibana-elastic/342754/2 "2023-09-11T17:49:52Z")

</div>

Hi Bala. I suggest starting with the ["Installing the Elastic Stack" documentation](https://www.elastic.co/guide/en/elastic-stack/current/installing-elastic-stack.html). Follow the instructions for each component in the "Installation order". Each component's "install instructions" has a link to install the component using Docker.

---

<div class="post-metadata">

**Author:** ![balakr](https://avatars.discourse-cdn.com/v4/letter/b/c89c15/32.png) [@balakr](https://discuss.elastic.co/u/balakr)\
**Post date:** [September 11, 2023, 7:44pm UTC](https://discuss.elastic.co/t/how-to-build-docker-images-for-logstash-kibana-elastic/342754/3 "2023-09-11T19:44:27Z")

</div>

Thanks Nick, i am trying to build from the repro which i cloned on my box. i was able to locate gradlew to build docker image for elastic. i am trying to locate how to build docker image from local kibanna and logstash repo

---

<div class="post-metadata">

**Author:** ![nickpeihl](https://sea2.discourse-cdn.com/elastic/user_avatar/discuss.elastic.co/nickpeihl/32/112622_2.png) [@nickpeihl](https://discuss.elastic.co/u/nickpeihl)\
**Post date:** [September 11, 2023, 9:00pm UTC](https://discuss.elastic.co/t/how-to-build-docker-images-for-logstash-kibana-elastic/342754/4 "2023-09-11T21:00:51Z")

</div>

Hi Bala. We usually let our continuous integration build Docker images. It's not something I've ever tried on my own. That said, there is a [`.ci/build_docker.sh` command](https://github.com/elastic/kibana/blob/main/.ci/build_docker.sh#L11) in Kibana that might give you some success.

I have no idea how to build a Logstash Docker image. You should ask in the [Logstash category](https://discuss.elastic.co/c/elastic-stack/logstash/14).

---

<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:** [October 9, 2023, 9:01pm UTC](https://discuss.elastic.co/t/how-to-build-docker-images-for-logstash-kibana-elastic/342754/5 "2023-10-09T21:01:08Z")

</div>

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