# The Dockerfile of filebeat

**URL:** <https://discuss.elastic.co/t/the-dockerfile-of-filebeat/274162>\
**Category:** Beats\
**Tags:** docker, filebeat\
**Created:** [May 27, 2021, 8:52am UTC](https://discuss.elastic.co/t/the-dockerfile-of-filebeat/274162 "2021-05-27T08:52:02Z")\
**Posts on this page:** 2\
**Page:** 1

<div class="post-metadata">

**Author:** ![HeGaoYuan](https://sea2.discourse-cdn.com/elastic/user_avatar/discuss.elastic.co/hegaoyuan/32/89331_2.png) [@HeGaoYuan](https://discuss.elastic.co/u/HeGaoYuan)\
**Post date:** [May 27, 2021, 8:52am UTC](https://discuss.elastic.co/t/the-dockerfile-of-filebeat/274162/1 "2021-05-27T08:52:03Z")

</div>

Hi, elastic/filebeat team

I use the filebeat 7.5.2 docer image in [beats/filebeat:7.5.2 | Docker @ Elastic](https://www.docker.elastic.co/r/beats/filebeat:7.5.2) , but I found some question, so I need to add some log to debug.

I modify the source code from [https://github.com/elastic/beats/tree/v7.5.2/filebeat](https://github.com/elastic/beats/tree/v7.5.2/filebeat), then I make/build the source code and I get the filebeat binary, now I want to make a new image, but I don't know the Dockerfile in the [beats/filebeat:7.5.2 | Docker @ Elastic](https://www.docker.elastic.co/r/beats/filebeat:7.5.2)

Can you offer the Dockerfile in the [beats/filebeat:7.5.2 | Docker @ Elastic](https://www.docker.elastic.co/r/beats/filebeat:7.5.2). 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:** [June 24, 2021, 10:52am UTC](https://discuss.elastic.co/t/the-dockerfile-of-filebeat/274162/2 "2021-06-24T10:52:51Z")

</div>

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