Minimal rsyslog on Debian Trixie with s6-overlay and single-file output.
6.4K
Minimal Debian Trixie image running rsyslog under s6 supervision. The container
renders /etc/rsyslog.conf at boot and writes all logs to a single file in a
mountable directory.
/init).rsyslogd managed by s6; container exits on failure.docker run --rm -it \
-v "$(pwd)/logs:/var/log/rsyslog" \
-e RSYSLOG_FILE_UID=1000 \
-e RSYSLOG_FILE_GID=1000 \
digitaldriveio/crowdsec-rsyslog:latest
| Variable | Default | Description |
|---|---|---|
RSYSLOG_OUTPUT_DIR | /var/log/rsyslog | Directory created at boot for log output. |
RSYSLOG_OUTPUT_FILE | ${RSYSLOG_OUTPUT_DIR}/rsyslog.log | Full log file path. |
RSYSLOG_FILE_UID | (unset) | Optional UID for output directory and file ownership. |
RSYSLOG_FILE_GID | (unset) | Optional GID for output directory and file ownership. |
RSYSLOG_ENABLE_NETWORK | false | Enable UDP/TCP listeners for remote syslog. |
RSYSLOG_NETWORK_PROTOCOLS | udp,tcp | Protocols to enable (comma-separated). |
RSYSLOG_NETWORK_PORT | 514 | Port for network listeners. |
RSYSLOG_NETWORK_BIND | 0.0.0.0 | IPv4 bind address. |
RSYSLOG_NETWORK_BIND6 | :: | IPv6 bind address (disable to skip IPv6). |
RSYSLOG_ALLOW_REGEX | (unset) | Regex filter for $fromhost-ip. |
imuxsock).RSYSLOG_ENABLE_NETWORK=true.Content type
Image
Digest
sha256:c1dc1a39d…
Size
90.1 MB
Last updated
about 3 hours ago
docker pull digitaldriveio/crowdsec-rsyslog:snapshot