I am using a fluentd to read docker containers log and feed it back to elasticsearch.
My fluentd container is running as non-root users and it is getting permission issue on /var/lib/docker/containers folder which has no permission for any other users than root.
Docker is running as root.
One option I found is to use fluentd logging driver. Do we have an option in docker’s daemon.json file to control permission on docker’s folders like ./containers or logs?