# Metricbeat inside a podman container

**URL:** <https://discuss.elastic.co/t/metricbeat-inside-a-podman-container/364717>\
**Category:** Beats\
**Tags:** metricbeat\
**Created:** [August 9, 2024, 7:24pm UTC](https://discuss.elastic.co/t/metricbeat-inside-a-podman-container/364717 "2024-08-09T19:24:38Z")\
**Posts on this page:** 1\
**Page:** 1

<div class="post-metadata">

**Author:** ![mommo](https://sea2.discourse-cdn.com/elastic/user_avatar/discuss.elastic.co/mommo/32/124158_2.png) [@mommo](https://discuss.elastic.co/u/mommo)\
**Post date:** [August 9, 2024, 7:24pm UTC](https://discuss.elastic.co/t/metricbeat-inside-a-podman-container/364717/1 "2024-08-09T19:24:38Z")

</div>

when inserting the following line in podman-compose.yml I'm getting this error:  
Exiting: could not initialize the keystore: open /usr/share/metricbeat/data/metricbeat.keystore: permission denied

And the container doesn't start,
