How to setup local syslog-ng in docker container of CentOS 7?
I want to isolate a testing environment in docker, I did that on CentOS 6 How to let syslog workable in docker? In CentOS 7, the syslog-ng's configuration is different, when I run /usr/sbin/syslog-ng -F -p /var/run/syslogd.pid It appears the following error message, but there is no proc/kmsg in config files. syslog-ng: Error setting capabilities, capability management disabled; error='Operation not permitted' Error opening file for reading; filename='/proc/kmsg', error='Operation not permitted (1)' The Dockerfile FROM centos RUN yum update --exclude=systemd -y \ && yum install -y yum-plugin