Docker Community Forums

Share and learn in the Docker community.

Docker syslog logging with Rsyslog in Mesosphere - RHEL 7.4

docker

(Nixtty) #1

Hi,

we are running docker EE in mesosphere setup.

we don’t have direct access to the host vm running docker.
we want to use rsyslog (with docker syslog logging driver) to send container logs to remote rsyslog server endpoint

The docker docs (https://docs.docker.com/config/containers/logging/configure/#supported-logging-drivers) only say that host should be running syslog daemon
"syslog Writes logging messages to the syslog facility. The syslog daemon must be running on the host machine."

Since we don’t have visibility of the host, is it possible to run the rsyslog daemon within the containers itself ?

Thanks