rsyslog/rsyslog-minimal

A lean Ubuntu-based image containing the rsyslog core and a tiny configuration that writes logs to standard output. It serves as the foundation for the other rsyslog images and is suitable when you want to add your own modules or configuration.

Runtime Notes

The packaged default configuration uses /var/spool/rsyslog as the work directory and writes to standard output via omstdout.

The image runs as syslog:adm by default. That fits simple container deployments that use unprivileged ports and do not depend on privileged inputs such as host log sockets or other root-only resources.

Environment Variables

The entrypoint script recognizes the following variables:

RSYSLOG_HOSTNAME

Hostname used inside rsyslog. Defaults to the value of /etc/hostname when unset.

PERMIT_UNCLEAN_START

Skip configuration validation when set. By default rsyslogd -N1 validates the configuration.

RSYSLOG_ROLE

Role name consumed by the entrypoint. Defaults to minimal and normally does not need to be changed.


Support: rsyslog Assistant | GitHub Discussions | GitHub Issues: rsyslog source project

Contributing: Source & docs: rsyslog source project

© 2008–2026 Rainer Gerhards and others. Licensed under the Apache License 2.0.