Skip to content

aguslr/docker-rsyslog

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

19 Commits
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

docker-pulls image-size

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).

Installation

To use docker-rsyslog, follow these steps:

  1. Clone and start the container:

    docker run -p 514:514 \
      -v "${PWD}"/logs:/var/log docker.io/aguslr/rsyslog:latest
    
  2. Configure your logging systems to save to your Rsyslog server's IP address on port 514.

Build locally

Instead of pulling the image from a remote repository, you can build it locally:

  1. Clone the repository:

    git clone https://github.com/aguslr/docker-rsyslog.git
    
  2. Change into the newly created directory and use docker-compose to build and launch the container:

    cd docker-rsyslog && docker-compose up --build -d