This Docker image sets up Rsyslog inside a docker container.
Rsyslog is a multi-threaded implementation of syslogd (a system utility providing support for message logging).
To use docker-rsyslog, follow these steps:
-
Clone and start the container:
docker run -p 514:514 \ -v "${PWD}"/logs:/var/log docker.io/aguslr/rsyslog:latest
-
Configure your logging systems to save to your Rsyslog server's IP address on port
514
.
Instead of pulling the image from a remote repository, you can build it locally:
-
Clone the repository:
git clone https://github.com/aguslr/docker-rsyslog.git
-
Change into the newly created directory and use
docker-compose
to build and launch the container:cd docker-rsyslog && docker-compose up --build -d