{"id":13574032,"url":"https://github.com/fluent/fluentd-docker-image","last_synced_at":"2025-04-04T14:31:32.222Z","repository":{"id":32414109,"uuid":"35991061","full_name":"fluent/fluentd-docker-image","owner":"fluent","description":"Docker image for Fluentd","archived":false,"fork":false,"pushed_at":"2025-03-25T01:44:24.000Z","size":852,"stargazers_count":466,"open_issues_count":9,"forks_count":352,"subscribers_count":23,"default_branch":"master","last_synced_at":"2025-03-25T02:37:03.017Z","etag":null,"topics":["docker","docker-image","fluentd"],"latest_commit_sha":null,"homepage":"https://hub.docker.com/r/fluent/fluentd/","language":"Dockerfile","has_issues":true,"has_wiki":null,"has_pages":null,"mirror_url":null,"source_name":null,"license":"apache-2.0","status":null,"scm":"git","pull_requests_enabled":true,"icon_url":"https://github.com/fluent.png","metadata":{"files":{"readme":"README.md","changelog":null,"contributing":null,"funding":null,"license":"LICENSE","code_of_conduct":null,"threat_model":null,"audit":null,"citation":null,"codeowners":null,"security":"SECURITY.md","support":null,"governance":null,"roadmap":null,"authors":null,"dei":null,"publiccode":null,"codemeta":null}},"created_at":"2015-05-21T04:31:36.000Z","updated_at":"2025-03-25T01:44:29.000Z","dependencies_parsed_at":"2024-01-16T07:05:31.392Z","dependency_job_id":"3af90fe3-8df6-4542-b7b6-4856dd9feb42","html_url":"https://github.com/fluent/fluentd-docker-image","commit_stats":{"total_commits":475,"total_committers":55,"mean_commits":8.636363636363637,"dds":0.4926315789473684,"last_synced_commit":"38d22b48839586eb1d1f32c44b121b2406f8cc2b"},"previous_names":[],"tags_count":33,"template":false,"template_full_name":null,"repository_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/fluent%2Ffluentd-docker-image","tags_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/fluent%2Ffluentd-docker-image/tags","releases_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/fluent%2Ffluentd-docker-image/releases","manifests_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/fluent%2Ffluentd-docker-image/manifests","owner_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners/fluent","download_url":"https://codeload.github.com/fluent/fluentd-docker-image/tar.gz/refs/heads/master","host":{"name":"GitHub","url":"https://github.com","kind":"github","repositories_count":247194058,"owners_count":20899424,"icon_url":"https://github.com/github.png","version":null,"created_at":"2022-05-30T11:31:42.601Z","updated_at":"2022-07-04T15:15:14.044Z","host_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub","repositories_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories","repository_names_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repository_names","owners_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners"}},"keywords":["docker","docker-image","fluentd"],"created_at":"2024-08-01T15:00:45.382Z","updated_at":"2025-04-04T14:31:32.217Z","avatar_url":"https://github.com/fluent.png","language":"Dockerfile","readme":"Fluentd Docker Image\n====================\n\n[![Build Status](https://github.com/fluent/fluentd-docker-image/actions/workflows/linux.yml/badge.svg?branch=master)](https://github.com/fluent/fluentd-docker-image/actions/workflows/linux.yml)\n[![Docker Stars](https://img.shields.io/docker/stars/fluent/fluentd.svg)](https://hub.docker.com/r/fluent/fluentd)\n[![Docker Pulls](https://img.shields.io/docker/pulls/fluent/fluentd.svg)](https://hub.docker.com/r/fluent/fluentd)\n\n## What is Fluentd?\n\nFluentd is an open source data collector, which lets you unify the data\ncollection and consumption for a better use and understanding of data.\n\n\u003e [www.fluentd.org](https://www.fluentd.org/)\n\n![Fluentd Logo](https://www.fluentd.org/images/miscellany/fluentd-logo.png)\n\n## Supported tags and respective `Dockerfile` links\n\n### Current images (Edge)\n\nThese tags have image version postfix. This updates many places so we need feedback for improve/fix the images.\n\nCurrent images use fluentd v1 series.\n\n- `v1.18.0-1.0`, `v1.18-1`, `edge`\n  [(v1.18/alpine/Dockerfile)][fluentd-1-alpine] (Deprecated)\n- `v1.18.0-debian-1.0`, `v1.18-debian-1`, `edge-debian`\n  (multiarch image for arm64(AArch64) and amd64(x86_64))\n- `v1.18.0-debian-amd64-1.0`, `v1.18-debian-amd64-1`, `edge-debian-amd64`\n  [(v1.18/debian/Dockerfile)][fluentd-1-debian]\n- `v1.18.0-debian-arm64-1.0`, `v1.18-debian-arm64-1`, `edge-debian-arm64`\n  [(v1.18/arm64/debian/Dockerfile)][fluentd-1-debian-arm64]\n- `v1.18.0-debian-armhf-1.0`, `v1.18-debian-armhf-1`, `edge-debian-armhf`\n  [(v1.18/armhf/debian/Dockerfile)][fluentd-1-debian-armhf]\n- `v1.18.0-windows-ltsc2019-1.0`, `v1.18-windows-ltsc2019-1`\n  [(v1.18/windows-ltsc2019/Dockerfile)][fluentd-1-ltsc2019-windows]\n- `v1.18.0-windows-ltsc2022-1.0`, `v1.18-windows-ltsc2022-1`\n  [(v1.18/windows-ltsc2022/Dockerfile)][fluentd-1-ltsc2022-windows]\n\n\u003e [!TIP]\n\u003e About deprecated old images, See [DEPRECATED](DEPRECATED.md)\n\nWe recommend to use debian version for production because it uses jemalloc to mitigate memory fragmentation issue.\n\n### Using Kubernetes?\n\nCheck [fluentd-kubernetes-daemonset](https://github.com/fluent/fluentd-kubernetes-daemonset) images.\n\n## The detail of image tag\n\nThis image is based on the popular Debian images and [Alpine Linux project][1], available in\n[the alpine official image][2].\n\n### For current images\n\n#### `edge`\n\nLatest released version of Fluentd.\n\n#### `vX.Y-A`\n\nLatest version of `vX.Y` Fluentd branch.\n\n`A` will be incremented when image has major changes.\n\nWhen fluentd version is updated, A is reset to `1`.\n\n#### `vX.Y.Z-A.B`\n\nConcrete `vX.Y.Z` version of Fluentd. This tag is recommeded for the production environment.\n\n`A` will be incremented when image has major changes.\n`B` will be incremented when image has small changes, e.g. library update or bug fixes.\n\nWhen fluentd version is updated, `A.B` is reset to `1.0`.\n\n#### `debian` included tag\n\nThe image based on [Debian Linux image][7].\nYou may use this image when you require plugins which cannot be installed on Alpine (like `fluent-plugin-systemd`).\n\n#### `armhf` included tag\n\nThe `armhf` images use ARM base images for use on devices such as Raspberry Pis.\n\nFurthermore, the base images enable support for cross-platform builds using the cross-build tools from [resin.io](https://docs.resin.io/reference/base-images/resin-base-images/#resin-xbuild-qemu).\n\nIn 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:\n```bash\ndocker build --build-arg CROSS_BUILD_START=\":\" --build-arg CROSS_BUILD_END=\":\" -t fluent/fluentd:v1.3-onbuild-1 v1.3/armhf/alpine-onbuild\n```\n(assuming the command is run from the root of this repository).\n\n### For older images\n\nThese images/tags are kept for backward compatibility. No update anymore and don't use for new deployment. Use \"current images\" instead.\n\n#### `stable`, `latest`\n\nThese tags are obsolete, already removed to avoid confusing.\nUse `edge`, `vX.Y-A` or `vX.Y.Z-A.B` images instead.\n\n#### `vX.Y`\n\nLatest version of `vX.Y` Fluentd branch.\n\n#### `vX.Y.Z`\n\nConcrete `vX.Y.Z` version of Fluentd.\n\n#### `onbuild` included tag\n\n`onbuild` images are deprecated. Use non-`onbuild ` images instead to build your image.\nNew images, v1.5 or later, don't provide `onbuild` version.\n\n#### `debian` included tag, `armhf` included tag\n\nSame as current images.\n\n## How to use this image\n\nTo create endpoint that collects logs on your host just run:\n\n```bash\ndocker run -d -p 24224:24224 -p 24224:24224/udp -v /data:/fluentd/log fluent/fluentd:v1.3-debian-1\n```\n\nDefault configurations are to:\n\n- listen port `24224` for Fluentd forward protocol\n- store logs with tag `docker.**` into `/fluentd/log/docker.*.log`\n  (and symlink `docker.log`)\n- store all other logs into `/fluentd/log/data.*.log` (and symlink `data.log`)\n\n## Providing your own configuration file and additional options\n\n`fluentd` arguments can be appended to the `docker run` line\n\nFor example, to provide a bespoke config and make `fluentd` verbose, then:\n\n`docker run -ti --rm -v /path/to/dir:/fluentd/etc fluent/fluentd -c /fluentd/etc/\u003cconf\u003e -v`\n\nThe first `-v` tells Docker to share '/path/to/dir' as a volume and mount it at /fluentd/etc\nThe `-c` after the container name (fluentd) tells `fluentd` where to find the config file\nThe second `-v` is passed to `fluentd` to tell it to be verbose\n\n## Change running user\n\nUse `-u` option with `docker run`.\n\n`docker run -p 24224:24224 -u foo -v ...`\n\n## How to build your own image?\n\nCheck [HOWTOBUILD](HOWTOBUILD.md) explanation.\n\n### References\n\n[Docker Logging | fluentd.org][5]\n\n[Fluentd logging driver - Docker Docs][6]\n\n## Issues\n\nWe can't notice comments in the DockerHub so don't use them for reporting issue or asking question.\n\nIf you have any problems with or questions about this image, please contact us\nthrough a [GitHub issue](https://github.com/fluent/fluentd-docker-image/issues).\n\n[1]: http://alpinelinux.org\n[2]: https://hub.docker.com/_/alpine\n[3]: https://docs.fluentd.org\n[4]: https://www.fluentd.org/plugins\n[5]: https://www.fluentd.org/guides/recipes/docker-logging\n[6]: https://docs.docker.com/engine/reference/logging/fluentd\n[7]: https://hub.docker.com/_/debian\n[fluentd-0-12-alpine]: https://github.com/fluent/fluentd-docker-image/blob/master/v0.12/alpine/Dockerfile\n[fluentd-0-12-alpine-onbuild]: https://github.com/fluent/fluentd-docker-image/blob/master/v0.12/alpine-onbuild/Dockerfile\n[fluentd-0-12-debian]: https://github.com/fluent/fluentd-docker-image/blob/master/v0.12/debian/Dockerfile\n[fluentd-0-12-debian-onbuild]: https://github.com/fluent/fluentd-docker-image/blob/master/v0.12/debian-onbuild/Dockerfile\n[fluentd-1-4-alpine]: https://github.com/fluent/fluentd-docker-image/blob/master/v1.4/alpine/Dockerfile\n[fluentd-1-4-alpine-onbuild]: https://github.com/fluent/fluentd-docker-image/blob/master/v1.4/alpine-onbuild/Dockerfile\n[fluentd-1-4-debian]: https://github.com/fluent/fluentd-docker-image/blob/master/v1.4/debian/Dockerfile\n[fluentd-1-4-debian-onbuild]: https://github.com/fluent/fluentd-docker-image/blob/master/v1.4/debian-onbuild/Dockerfile\n[fluentd-1-4-windows]: https://github.com/fluent/fluentd-docker-image/blob/master/v1.4/windows/Dockerfile\n[fluentd-1-alpine]: https://github.com/fluent/fluentd-docker-image/blob/master/v1.18/alpine/Dockerfile\n[fluentd-1-debian]: https://github.com/fluent/fluentd-docker-image/blob/master/v1.18/debian/Dockerfile\n[fluentd-1-debian-arm64]: https://github.com/fluent/fluentd-docker-image/blob/master/v1.18/arm64/debian/Dockerfile\n[fluentd-1-debian-armhf]: https://github.com/fluent/fluentd-docker-image/blob/master/v1.18/armhf/debian/Dockerfile\n[fluentd-1-ltsc2019-windows]: https://github.com/fluent/fluentd-docker-image/blob/master/v1.18/windows-ltsc2019/Dockerfile\n[fluentd-1-ltsc2022-windows]: https://github.com/fluent/fluentd-docker-image/blob/master/v1.18/windows-ltsc2019/Dockerfile\n","funding_links":[],"categories":["Dockerfile","Shell"],"sub_categories":[],"project_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Ffluent%2Ffluentd-docker-image","html_url":"https://awesome.ecosyste.ms/projects/github.com%2Ffluent%2Ffluentd-docker-image","lists_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Ffluent%2Ffluentd-docker-image/lists"}