Hello

As running "rsyslog/syslog_appliance_alpine:8.36.0-3.7" docker image is not
advised for production, Im trying to setup my own rsyslog docker image.

*The dockerfile is:*
FROM ubuntu:22.04
RUN apt update && apt -y install rsyslog-relp
EXPOSE 514/udp 20514
CMD rsyslogd -n

*and the compose is:*
version: '3'
services:
  rsyslog:
    #image: 'rsyslog/syslog_appliance_alpine:8.36.0-3.7'
    image: 'rsyslog:22.04'
    ports:
      - '514:514/udp'
      - '20514:20514/tcp'
    volumes:
      - ./rsyslog/rsyslog.conf:/etc/rsyslog.conf

*./rsyslog/rsyslog.conf contains*
    module(load="omstdout")
    action(type="omstdout")

*and when running it complains *
rsyslogd: could not load module 'omstdout', errors: trying to load module
/usr/lib/x86_64-linux-gnu/rsyslog/omstdout.so:
/usr/lib/x86_64-linux-gnu/rsyslog/omstdout.so: cannot open shared object
file: No such file or directory [v8.2112.0 try
https://www.rsyslog.com/e/2066 ]
rsyslogd: module name 'omstdout' is unknown [v8.2112.0 try
https://www.rsyslog.com/e/2209 ]
rsyslogd: error during parsing file /etc/rsyslog.conf, on or before line
153: errors occured in file '/etc/rsyslog.conf' around line 153 [v8.2112.0
try https://www.rsyslog.com/e/2207 ]

*Is omstdout not built on rsyslog package?*
_______________________________________________
rsyslog mailing list
https://lists.adiscon.net/mailman/listinfo/rsyslog
http://www.rsyslog.com/professional-services/
What's up with rsyslog? Follow https://twitter.com/rgerhards
NOTE WELL: This is a PUBLIC mailing list, posts are ARCHIVED by a myriad of 
sites beyond our control. PLEASE UNSUBSCRIBE and DO NOT POST if you DON'T LIKE 
THAT.

Reply via email to