This is an Arch-based image with syslog-ng installed. This is (potentially) useful for creating a centralized logging solution.
This image starts syslog-ng. By default, it's configured to listen for udp traffic on port 514, and tcp traffic on port 601. All traffic is just logged to stdout. Note: the image doesn't have any ports exposed by default.
It reads a configuration file at /opt/syslog-ng/syslog-ng.conf - you can
bind a volume to /opt/syslog-ng and use your own configuration.
So out of the box, it doesn't do a whole lot. But I can think of a few use cases where this is useful.
The default behavior of this image is to run syslog-ng in the foreground.
$ docker build -t <repo name> .
$ docker run --expose 514/udp --expose 601/tcp -v /path/to/config/folder:/opt/syslog-ng jprjr/syslog-ng
$ docker run -d --expose 514/udp --expose 601/tcp -v /path/to/config/folder:/opt/syslog-ng jprjr/syslog-ng
/opt/syslog-ng (For loading a custom syslog-ng.conf file)docker pull jprjr/syslog-ng:latest