Movatterモバイル変換


[0]ホーム

URL:


Skip to content

Navigation Menu

Sign in
Appearance settings

Search code, repositories, users, issues, pull requests...

Provide feedback

We read every piece of feedback, and take your input very seriously.

Saved searches

Use saved searches to filter your results more quickly

Sign up
Appearance settings

Docker image for Fluentd

License

NotificationsYou must be signed in to change notification settings

fluent/fluentd-docker-image

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

729 Commits
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

Build StatusDocker StarsDocker Pulls

What is Fluentd?

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

www.fluentd.org

Fluentd Logo

Supported tags and respectiveDockerfile links

Current images (Edge)

These tags have image version postfix. This updates many places so we need feedback for improve/fix the images.

Current images use fluentd v1 series.

Tip

About deprecated old images, SeeDEPRECATED

We recommend to use debian version for production because it uses jemalloc to mitigate memory fragmentation issue.

If you want to know the detail of supported image tags, seeTAGRULE explanation.

Using Kubernetes?

Checkfluentd-kubernetes-daemonset images.

How to use this image

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:

  • listen port24224 for Fluentd forward protocol
  • store logs with tagdocker.** into/fluentd/log/docker.*.log(and symlinkdocker.log)
  • store all other logs into/fluentd/log/data.*.log (and symlinkdata.log)

Providing your own configuration file and additional options

fluentd arguments can be appended to thedocker run line

For example, to provide a bespoke config and makefluentd 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/etcThe-c after the container name (fluentd) tellsfluentd where to find the config fileThe second-v is passed tofluentd to tell it to be verbose

Change running user

Use-u option withdocker run.

docker run -p 24224:24224 -u foo -v ...

How to build your own image?

CheckHOWTOBUILD explanation.

References

Docker Logging | fluentd.org

Fluentd logging driver - Docker Docs

Issues

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 usthrough aGitHub issue.

FAQ

Permission Issues with v1.19+

Due to a change in the default UID invX.Y-A andvX.Y.Z-A.B images since v1.19,you may encount permission errors when writing to mounted volumes.To resolve this, please chown your data directories to the new UID.

For more details, please refer to#448.


[8]ページ先頭

©2009-2026 Movatter.jp