# Understand Filebeat in Docker

**URL:** <https://discuss.elastic.co/t/understand-filebeat-in-docker/209323>\
**Category:** Beats\
**Tags:** filebeat\
**Created:** [November 25, 2019, 2:23pm UTC](https://discuss.elastic.co/t/understand-filebeat-in-docker/209323 "2019-11-25T14:23:21Z")\
**Posts on this page:** 4\
**Page:** 1

<div class="post-metadata">

**Author:** ![iamoric](https://avatars.discourse-cdn.com/v4/letter/i/3ec8ea/32.png) [@iamoric](https://discuss.elastic.co/u/iamoric)\
**Post date:** [November 25, 2019, 2:23pm UTC](https://discuss.elastic.co/t/understand-filebeat-in-docker/209323/1 "2019-11-25T14:23:22Z")

</div>

Hi,

I would like to run Filebeat in Docker with mouting volume.  
I followed the documentation ([https://www.elastic.co/guide/en/beats/filebeat/7.4/running-on-docker.html#\_volume\_mounted\_configuration](https://www.elastic.co/guide/en/beats/filebeat/7.4/running-on-docker.html#_volume_mounted_configuration)) and it works fine, but I don't understand this option:

`-e -strict.perms=false`

Is this really needed? I tried with and without, logs are correctly collected and sent. Only difference is that if I do `docker logs -f filebeat` there is nothing if I don't put `-e -strict.perms=false`, while I can see logs if I put it.

Thanks for answer

---

<div class="post-metadata">

**Author:** ![kvch](https://sea2.discourse-cdn.com/elastic/user_avatar/discuss.elastic.co/kvch/32/72058_2.png) [@kvch](https://discuss.elastic.co/u/kvch)\
**Post date:** [November 28, 2019, 3:11pm UTC](https://discuss.elastic.co/t/understand-filebeat-in-docker/209323/2 "2019-11-28T15:11:30Z")

</div>

Filebeat does strict permissions and user checks when opening its configuration file. If those are not correct, it refuses to start up. If you don't need it I suggest you drop the flag, as it is disabling security checks.

See more: [https://www.elastic.co/guide/en/beats/libbeat/current/config-file-permissions.html#\_disabling\_strict\_permission\_checks](https://www.elastic.co/guide/en/beats/libbeat/current/config-file-permissions.html#_disabling_strict_permission_checks)

---

<div class="post-metadata">

**Author:** ![iamoric](https://avatars.discourse-cdn.com/v4/letter/i/3ec8ea/32.png) [@iamoric](https://discuss.elastic.co/u/iamoric)\
**Post date:** [November 28, 2019, 3:12pm UTC](https://discuss.elastic.co/t/understand-filebeat-in-docker/209323/3 "2019-11-28T15:12:44Z")

</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:** [December 26, 2019, 3:12pm UTC](https://discuss.elastic.co/t/understand-filebeat-in-docker/209323/4 "2019-12-26T15:12:50Z")

</div>

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