- Builds fluentd docker image with plugin installation support.
The official fluentd docker image is slightly extended with custom plugin installation.
The plugins are installed from a provided Gemfile.
Name | description | default |
---|---|---|
FLUENTD_IMAGE_VERSION |
Fluentd base image | v1.16.2-1.1 |
docker build -t fluentd .
docker build --build-arg FLUENTD_IMAGE_VERSION=1.16.2-debian-1.1 -t fluentd:<tag> .
docker run --rm -it -p 24224:24224 fluentd bash
docker run --rm -it -p 24224:24224 fluentd:<tag> bash
docker run --rm -it -p 24224:24224 --name fluentd --mount type=bind,source=/path/to/fluentd.conf,target=/fluentd/etc/fluentd.conf -e FLUENTD_CONF=fluentd.conf fluentd:<tag>
Sources: Cloud Native Computing Foundation (CNCF), https://docs.fluentd.org/quickstart/logo
This project was created by H.Hedhly.