Overview
- Full name
docker.io/callac/fluentd- Registry
- docker.io
- Namespace
- callac
- Repository
- fluentd
- Cached tags
- 1
- Last synced
- 07/06/2026, 06:55 PM
Introduction
Fluentd 日志采集转发镜像,按 conf 解析容器/文件日志并推送 Elasticsearch、Kafka 或 S3,适合集中式日志管道中间层。
Details
callac/fluentd 打包 td-agent 兼容运行时,通过 /fluentd/etc 挂载 fluent.conf 定义 source/filter/match 流水线。可作为 Docker 侧车或独立 aggregator 接收 forward 协议日志。与 Fluent Bit 相比内存占用更高但插件生态更全;生产应限制 buffer 大小、配置 retry 与 dead letter,并对敏感字段做 mask 过滤。
快速启动
docker run -d --name fluentd \
-p 24224:24224 \
docker.io/callac/fluentd:latest
推荐实践
docker run -d --name fluentd \
--restart unless-stopped \
-p 24224:24224 \
-v /data/fluentd/conf:/fluentd/etc \
-v /data/fluentd/log:/fluentd/log \
-e FLUENTD_CONF=fluent.conf \
docker.io/callac/fluentd:1.16.3
核心参数说明
-p 24224:24224— forward 协议接收端口-v .../conf:/fluentd/etc— 流水线配置文件-v .../log:/fluentd/log— buffer 与自身日志-e FLUENTD_CONF— 主配置文件名--restart unless-stopped— 日志链路不中断- 固定 tag — 与 ES/Kafka 插件版本对齐
Kubernetes
apiVersion: apps/v1
kind: Deployment
metadata:
name: fluentd-aggregator
spec:
replicas: 2
selector:
matchLabels:
app: fluentd-aggregator
template:
metadata:
labels:
app: fluentd-aggregator
spec:
containers:
- name: fluentd
image: docker.io/callac/fluentd:1.16.3
ports:
- containerPort: 24224
volumeMounts:
- name: config
mountPath: /fluentd/etc
volumes:
- name: config
configMap:
name: fluentd-config
---
apiVersion: v1
kind: Service
metadata:
name: fluentd-aggregator
spec:
selector:
app: fluentd-aggregator
ports:
- port: 24224
targetPort: 24224
节点采集建议 DaemonSet + 本 Service 作 aggregator;ConfigMap 热更新需滚动重启,buffer 目录可用 emptyDir 或 PVC。
Latest tags (20)
View all 1 tags →| Tag | Arch | Pushed At | Size | Digest | Sync | Wish | Action |
|---|---|---|---|---|---|---|---|
docker.io/callac/fluentd :v3.0.1 | linux/amd64 | 2021/07/27 15:05 | 287.4 MB | sha256:e3adc1b23693… |