I'm running docker container without sudo access using
docker run -it --user 739000:8500 blabla...
Is there anyway I can start rsyslogd deamon inside this docker container without sudo access?
Managed to start rsyslogd inside docker container by modifying permissions of some relevant files, including pid file, config file and etc. when building a docker image. However, after such changes, rsyslogd can only be started once, and it can't get restarted, as /var/lock/subsys/rsyslog can't be removed without sudo. Is there anyway I can modify permission of /var/lock/subsys/rsyslog so that it can be removed without sudo?