Fluentd is an open source data collector, which lets you unify the data collection and consumption for a better use and understanding of data.

Dockerfile linksThese tags have image version postfix. This updates many places so we need feedback for improve/fix the images.
Current images use fluentd v1 series.
v1.17.0-1.0, v1.17-1, edge
[(v1.17/alpine/Dockerfile)][fluentd-1-alpine]v1.17.0-debian-1.0, v1.17-debian-1, edge-debian
(multiarch image for arm64(AArch64) and amd64(x86_64))v1.17.0-debian-amd64-1.0, v1.17-debian-amd64-1, edge-debian-amd64
[(v1.17/debian/Dockerfile)][fluentd-1-debian]v1.17.0-debian-arm64-1.0, v1.17-debian-arm64-1, edge-debian-arm64
[(v1.17/arm64/debian/Dockerfile)][fluentd-1-debian-arm64]v1.17.0-debian-armhf-1.0, v1.17-debian-armhf-1, edge-debian-armhf
[(v1.17/armhf/debian/Dockerfile)][fluentd-1-debian-armhf]v1.17.0-windows-ltsc2019-1.0, v1.17-windows-ltsc2019-1
[(v1.17/windows-ltsc2019/Dockerfile)][fluentd-1-ltsc2019-windows]v1.17.0-windows-ltsc2022-1.0, v1.17-windows-ltsc2022-1
[(v1.17/windows-ltsc2022/Dockerfile)][fluentd-1-ltsc2022-windows]This is for backward compatibility. Use "Current images" instead.
v1.4.2-2.0, v1.4-2
(v1.4/alpine/Dockerfile)v1.4.2-onbuild-2.0, v1.4-onbuild-2
(v1.4/alpine-onbuild/Dockerfile)v1.4.2-debian-2.0, v1.4-debian-2
(v1.4/debian/Dockerfile)v1.4.2-debian-onbuild-2.0, v1.4-debian-onbuild-2, edge-debian-onbuild
(v1.4/debian-onbuild/Dockerfile)v1.4.2-windows-2.0, v1.4-windows-2
[(v1.4/windows/Dockerfile)][fluentd-1-4-windows]Support of fluentd v0.12 has ended in 2019. We don't recommend v0.12 for new deployment.
v0.12.43-2.0, v0.12-2
(v0.12/alpine/Dockerfile)v0.12.43-onbuild-2.0, v0.12-onbuild-2
(v0.12/alpine-onbuild/Dockerfile)v0.12.43-debian-2.0, v0.12-debian-2
(v0.12/debian/Dockerfile)v0.12.43-debian-onbuild-2.0, v0.12-debian-onbuild-2
(v0.12/debian-onbuild/Dockerfile)You can use older versions via tag. See tag page on Docker Hub.
We recommend to use debian version for production because it uses jemalloc to mitigate memory fragmentation issue.
Check fluentd-kubernetes-daemonset images.
This image is based on the popular Alpine Linux project, available in the alpine official image, and Debian images.
edgeLatest released version of Fluentd.
vX.Y-ALatest version of vX.Y Fluentd branch.
A will be incremented when image has major changes.
When fluentd version is updated, A is reset to 1.
vX.Y.Z-A.BConcrete vX.Y.Z version of Fluentd. This tag is recommeded for the production environment.
A will be incremented when image has major changes.
B will be incremented when image has small changes, e.g. library update or bug fixes.
When fluentd version is updated, A.B is reset to 1.0.
debian included tagThe image based on Debian Linux image.
You may use this image when you require plugins which cannot be installed on Alpine (like fluent-plugin-systemd).
armhf included tagThe armhf images use ARM base images for use on devices such as Raspberry Pis.
Furthermore, the base images enable support for cross-platform builds using the cross-build tools from resin.io.
In order to build these images natively on ARM devices, the CROSS_BUILD_START and CROSS_BUILD_END Docker build arguments must be set to the shell no-op (:), for example:
docker build --build-arg CROSS_BUILD_START=":" --build-arg CROSS_BUILD_END=":" -t fluent/fluentd:v1.3-onbuild-1 v1.3/armhf/alpine-onbuild
(assuming the command is run from the root of this repository).
These images/tags are kept for backward compatibility. No update anymore and don't use for new deployment. Use "current images" instead.
stable, latestThese tags are obsolete, already removed to avoid confusing.
Use edge, vX.Y-A or vX.Y.Z-A.B images instead.
vX.YLatest version of vX.Y Fluentd branch.
vX.Y.ZConcrete vX.Y.Z version of Fluentd.
onbuild included tagonbuild images are deprecated. Use non-onbuild images instead to build your image.
New images, v1.5 or later, don't provide onbuild version.
debian included tag, armhf included tagSame as current images.
To create endpoint that collects logs on your host just run:
docker run -d -p 24224:24224 -p 24224:24224/udp -v /data:/fluentd/log fluent/fluentd:v1.3-debian-1
Default configurations are to:
24224 for Fluentd forward protocoldocker.** into /fluentd/log/docker.*.log
(and symlink docker.log)/fluentd/log/data.*.log (and symlink data.log)fluentd arguments can be appended to the docker run line
For example, to provide a bespoke config and make fluentd verbose, then:
docker run -ti --rm -v /path/to/dir:/fluentd/etc fluent/fluentd -c /fluentd/etc/<conf> -v
The first -v tells Docker to share '/path/to/dir' as a volume and mount it at /fluentd/etc
The -c after the container name (fluentd) tells fluentd where to find the config file
The second -v is passed to fluentd to tell it to be verbose
Use -u option with docker run.
docker run -p 24224:24224 -u foo -v ...
You can build a customized image based on Fluentd's image.
Customized image can include plugins and fluent.conf file.
We will use this directory to build a Docker image. Type following commands on a terminal to prepare a minimal project first:
# Create project directory. mkdir custom-fluentd cd custom-fluentd # Download default fluent.conf and entrypoint.sh. This file will be copied to the new image. # VERSION is v1.7 like fluentd version and OS is alpine or debian. # Full example is https://raw.githubusercontent.com/fluent/fluentd-docker-image/master/v1.10/debian/fluent.conf curl https://raw.githubusercontent.com/fluent/fluentd-docker-image/master/VERSION/OS/fluent.conf > fluent.conf curl https://raw.githubusercontent.com/fluent/fluentd-docker-image/master/VERSION/OS/entrypoint.sh > entrypoint.sh chmod +x entrypoint.sh # Create plugins directory. plugins scripts put here will be copied to the new image. mkdir plugins curl https://raw.githubusercontent.com/fluent/fluentd-docker-image/master/Dockerfile.sample > Dockerfile
fluent.confDocumentation of fluent.conf is available at docs.fluentd.org.
You can install Fluentd plugins using Dockerfile.
Sample Dockerfile installs fluent-plugin-elasticsearch.
To add plugins, edit Dockerfile as following:
FROM fluent/fluentd:v1.17-1 # Use root account to use apk USER root # below RUN includes plugin as examples elasticsearch is not required # you may customize including plugins as you wish RUN apk add --no-cache --update --virtual .build-deps \ sudo build-base ruby-dev \ && sudo gem install fluent-plugin-elasticsearch \ && sudo gem sources --clear-all \ && apk del .build-deps \ && rm -rf /tmp/* /var/tmp/* /usr/lib/ruby/gems/*/cache/*.gem COPY fluent.conf /fluentd/etc/ COPY entrypoint.sh /bin/ USER fluent
FROM fluent/fluentd:v1.17-debian-1 # Use root account to use apt USER root # below RUN includes plugin as examples elasticsearch is not required # you may customize including plugins as you wish RUN buildDeps="sudo make gcc g++ libc-dev" \ && apt-get update \ && apt-get install -y --no-install-recommends $buildDeps \ && sudo gem install fluent-plugin-elasticsearch \ && sudo gem sources --clear-all \ && SUDO_FORCE_REMOVE=yes \ apt-get purge -y --auto-remove \ -o APT::AutoRemove::RecommendsImportant=false \ $buildDeps \ && rm -rf /var/lib/apt/lists/* \ && rm -rf /tmp/* /var/tmp/* /usr/lib/ruby/gems/*/cache/*.gem COPY fluent.conf /fluentd/etc/ COPY entrypoint.sh /bin/ USER fluent
These example run apk add/apt-get install to be able to install
Fluentd plugins which require native extensions (they are removed immediately
after plugin installation).
If you're sure that plugins don't include native extensions, you can omit it
to make image build faster.
This section is for existing users. Don't recommend for new deployment.
FROM fluent/fluentd:v1.3-onbuild-1 # below RUN includes plugin as examples elasticsearch is not required # you may customize including plugins as you wish RUN apk add --no-cache --update --virtual .build-deps \ sudo build-base ruby-dev \ && sudo gem install \ fluent-plugin-elasticsearch \ && sudo gem sources --clear-all \ && apk del .build-deps \ && rm -rf /tmp/* /var/tmp/* /usr/lib/ruby/gems/*/cache/*.gem
FROM fluent/fluentd:v1.3-debian-onbuild-1 # below RUN includes plugin as examples elasticsearch is not required # you may customize including plugins as you wish RUN buildDeps="sudo make gcc g++ libc-dev ruby-dev" \ && apt-get update \ && apt-get install -y --no-install-recommends $buildDeps \ && sudo gem install \ fluent-plugin-elasticsearch \ && sudo gem sources --clear-all \ && SUDO_FORCE_REMOVE=yes \ apt-get purge -y --auto-remove \ -o APT::AutoRemove::RecommendsImportant=false \ $buildDeps \ && rm -rf /var/lib/apt/lists/* \ && rm -rf /tmp/* /var/tmp/* /usr/lib/ruby/gems/*/cache/*.gem
Use docker build command to build the image.
This example names the image as custom-fluentd:latest:
docker build -t custom-fluentd:latest ./
Once the image is built, it's ready to run.
Following commands run Fluentd sharing ./log directory with the host machine:
mkdir -p log docker run -it --rm --name custom-docker-fluent-logger -v $(pwd)/log:/fluentd/log custom-fluentd:latest
Open another terminal and type following command to inspect IP address. Fluentd is running on this IP address:
docker inspect -f '{{.NetworkSettings.IPAddress}}' custom-docker-fluent-logger
Let's try to use another docker container to send its logs to Fluentd.
docker run --log-driver=fluentd --log-opt tag="docker.{{.ID}}" --log-opt fluentd-address=FLUENTD.ADD.RE.SS:24224 python:alpine echo Hello # and force flush buffered logs docker kill -s USR1 custom-docker-fluent-logger
(replace FLUENTD.ADD.RE.SS with actual IP address you inspected at
the previous step)
You will see some logs sent to Fluentd.
Fluentd logging driver - Docker Docs
We can't notice comments in the DockerHub so don't use them for reporting issue or asking question.
If you have any problems with or questions about this image, please contact us through a GitHub issue.
[fluentd-1-4-windows]:


AI一键生成PPT,就用博思AIPPT!
博思AIPPT,新一代的AI生成PPT平台,支持智能生成PPT、AI美化PPT、文本&链接生成PPT、导入Word/PDF/Markdown文档生成PPT等,内置海量精美PPT模板,涵盖商务、教育、科技等不同风格,同时针对每个页面提供多种版式,一键自适应切换,完美适配各种办公场景。


AI赋能电商视觉革命,一站式智能商拍平台
潮际好麦深耕服装行业,是国内AI试衣效果最好的软件。使用先进AIGC能力为电商卖家批量提供优质的、低成本的商拍图。合作品牌有Shein、Lazada、安踏、百丽等65个国内外头部品牌,以及国内10万+淘宝、天猫、京东等主流平台的品牌商家,为卖家节省将近85%的出图成本,提升约3倍出图效率,让品牌能够快速上架。


企业专属的AI法律顾问
iTerms是法大大集团旗下法律子品牌,基于最先进的大语言模型(LLM)、专业的法律知识库和强大的智能体架构,帮助企业扫清合规障碍,筑牢风控防线,成为您企业专属的AI法律顾问。


稳定高效的流量提升解决方案,助力品牌曝光
稳定高效的流量提升解决方案,助力品牌曝光


最新版Sora2模型免费使用,一键生成无水印视频
最新版Sora2模型免费使用,一键生成无水印视频


实时语音翻译/同声传译工具
Transly是一个多场景的AI大语言模型驱动的同声传译、专业翻译助手,它拥有超精准的音频识别翻译能力,几乎零延迟的使用体验和支持多国语言可以让你带它走遍全球,无论你是留学生、商务人士、韩剧美剧爱好者,还是出国游玩、多国会议、跨国追星等等,都可以满足你所有需要同传的场景需求,线上线下通用,扫除语言障碍,让全世界的语言交流不再有国界。


选题、配图、成文,一站式创作,让内容运营更高效
讯飞绘文,一个AI集成平台,支持写作、选题、配图、排版和发布。高效生成适用于各类媒体的定制内容,加速品牌传播,提升内容营销效果。


AI辅助编程,代码自动修复
Trae是一种自适应的集成开发环境(IDE),通过自动化和多元协作改变开发流程。利用Trae,团队能够更快速、精确地编写和部署代码,从而提高编程效率和项目交付速度。Trae具备上下文感知和代码自动完成功能,是提升开发效率的理想工具。


最强AI数据分析助手
小浣熊家族Raccoon,您的AI智能助手,致力于通过先进的人工智能技术,为用户提供高效、便捷的智能服务。无论是日常咨询还是专业问题解答,小浣熊都能以快速、准确的响应满足您的需求,让您的生活更加智能便捷。


像人一样思考的AI智能体
imini 是一款超级AI智能体,能根据人类指令,自主思考、自主完成、并且交付结果的AI智能体。
最新AI工具、AI资讯
独家AI资源、AI项目落地

微信扫一扫关注公众号