Closed
Description
Is there a compelling reason not to run Logstash in the container as root?
The problem is that the logstash user 999 will not be able to run most logs (like /log/syslog). I think it's better to run root in a Docker container and mount the volume as read-only as to change file permission in the host to allow a non-root docker user to read the logs.
I would suggest just skipping the gosu or add the functionality to specify a user ID to run as when starting the container (through an env variable)...
Metadata
Metadata
Assignees
Labels
No labels