Access container logs with libbeat / filebeat with non-root user

I have filebeat / libbeat running as non-root user and want to read docker container logs from /var/lib/docker/container . I have mounted the directory within beat pod but the directory has 700 permission by default, i.e. a non-root user cannot access this. Is there a way I can by-pass this without running an init-container that first changes the permission for this directory?

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