Skip to content

Latest commit

 

History

History
33 lines (22 loc) · 1.3 KB

installation.md

File metadata and controls

33 lines (22 loc) · 1.3 KB

Installation

Docker

Images are available on GitHub container registry.

Note: If you are using journalctl input plugin, we recommend choosing the ubuntu version that matches the host machine version. For example, if the host machine with which you want to collect logs using journald has a version of Ubuntu 18.04, you should choose file.d with -ubuntu18.04 suffix to avoid errors.

Mount config from /my-config.yaml and start file.d with this config:
docker run -v /my-config.yaml:/my-config.yaml ghcr.io/ozontech/file.d:v0.14.0 /file.d/file.d --config /my-config.yaml

Do not forget to set the actual tag of the image.

Precompiled binaries

Precompiled binaries for released versions are available in the GitHub releases.

From source

You can install a binary release using Go:

go install -ldflags "-X github.com/ozontech/file.d/buildinfo.Version=v0.14.0" github.com/ozontech/file.d/cmd/[email protected]

Do not forget to set the actual tag of the file.d.