Metricbeat inside a podman container

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,