Public | Automated Build

Last pushed: 3 years ago
Short Description
Short description is empty for this repo.
Full Description

syslog-ng in docker

Minimal syslog-ng container (18mb) that writes logs to /var/log/syslog-ng/$PROGRAM/$PROGRAM.log.

Exposed inputs:

  • tcp port 514
  • udp port 514
  • unix socket /var/run/syslog-ng/syslog-ng.sock


Listen for udp port 514 on localhost and save logs to /var/log/syslog-ng:

docker run -d -p \
    -v /var/log/syslog-ng:/var/log/syslog-ng \
    --name syslog-ng bobrik/syslog-ng

If you want to export unix socket, just bind-mount /var/run/syslog-ng to host somewhere.

If you want to change config, just bind-mount it to /etc/syslog-ng/syslog-ng.conf.

Docker Pull Command
Source Repository