Sign inSign up

jonbrouse/docker-nxlog

By jonbrouse

•Updated almost 11 years ago

Base Image for an NXLOG Client Container

Image
1

1.0K

jonbrouse/docker-nxlog repository overview

⁠docker-nxlog

⁠How to use this image

⁠Create nxlog.conf

Since no two users of NXLOG are likely to configure it exactly a like, this image does not come with any default configuration.

Please refer to the the CE Reference Manual on⁠ the subject of configuring NXLOG for your needs.

⁠Build and Run the Image

Create a Dockerfile:

FROM jonbrouse/nxlog
COPY nxlog.conf /etc/nxlog/

Build and run:

docker build -t nxlog-client .
docker run -d --name my-running-nxlog-client nxlog-client
⁠Notes
⁠The Client Binaries

The client binaries are stored in nxlog-client.tar.gz which is contained in this repo. When I have used this build I normally host it in a private S3 bucket and curl it down during a RUN action.

⁠Issues

If you are using this with a process manager like supervisor, ensure you start the agent after the other processes. NXLOG needs to see a valid log file to launch.

Tag summary

Content type

Image

Digest

sha256:0f52bb43e…

Size

70.8 MB

Last updated

almost 11 years ago

docker pull jonbrouse/docker-nxlog