Comments (6)
Use type syslog
http://docs.fluentd.org/articles/in_syslog
from fluentd-docker-image.
Yes, but doesn't one need to use the host machine ip or something?
from fluentd-docker-image.
Hi @tagomoris I have the same question, not sure how to run fluentd inside a container but still have it handle logging for containers on the host machine..?
from fluentd-docker-image.
You have to run the fluentd container with the json-file log driver.
Also, running fluentd in a container listening for syslog logs on a TCP port creates a situation where if the fluentd container is not running for some reason, docker will refuse to start other containers as the syslog log driver cannot initialise.
This felt too dangerous to me and I instead opted for using the json-file log driver with log rotation options set and using fluentd's file input, mapping /var/lib/docker/containers into the fluentd container.
from fluentd-docker-image.
Hi @superdump is there an example I can refer to by any chance? Much appreciated.
from fluentd-docker-image.
@superdump just as an FYI, a fail-on-startup-error
log-opt flag has been added in docker 1.11 that will ignore fluentd being unreachable and allow you to start containers anyway:
I have backported it to 1.9.1 and built my own docker binary because I don't have time to wait until 1.11 for a solution to such an obvious issue.
from fluentd-docker-image.
Related Issues (20)
- While executing gem ... (Gem::FilePermissionError) You don't have write permissions for the /usr/lib/ruby/gems/3.1.0 directory HOT 2
- error=":excon is not registered on Faraday::Adapter" with v1.15.0 Docker and fluent-plugin-opensearch HOT 6
- fluent-plugin-prometheus-2.0.3 breaks with fluent/fluentd:v1.15.1-1.0 (Async version incompatibility?) HOT 2
- fluend:v1.14.4-1.0 has Security Vulnerebilities HOT 1
- Fluentd v1.15 docker image should bundle XML library gem by default HOT 2
- Fixing the logo on README.md HOT 1
- fluentd v1.15.0 image has many vulnerable packages HOT 1
- README: missing `fluentd` in providing config example HOT 2
- latest tag on DockerHub has not been updated for a long time HOT 10
- Vulnerability for fluentd:v1.16.0-1.0 HOT 8
- Dockerhub image isn't updated for 3 weeks HOT 2
- I want to run bash on startup with a Dockerfile I created, but Fulentd won't start.
- Fluentd Docker Container Overwhelmed with Plugin Error Messages
- Feature request: Please provide a `latest-debian` tag on Docker Hub
- Seeing critical vulnerability as part of the fluentd(v1.16.2) for zlib (CVE-2023-45853) library HOT 4
- Switch base image to 3.x-slim-bookworm
- Cannot build multi-platform image
- docker image not published for 1.16.4 release HOT 1
- Segmentation fault after updating from version 1.16.3 to 1.16.4 HOT 5
- v1.17 images missing HOT 2
Recommend Projects
-
React
A declarative, efficient, and flexible JavaScript library for building user interfaces.
-
Vue.js
🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.
-
Typescript
TypeScript is a superset of JavaScript that compiles to clean JavaScript output.
-
TensorFlow
An Open Source Machine Learning Framework for Everyone
-
Django
The Web framework for perfectionists with deadlines.
-
Laravel
A PHP framework for web artisans
-
D3
Bring data to life with SVG, Canvas and HTML. 📊📈🎉
-
Recommend Topics
-
javascript
JavaScript (JS) is a lightweight interpreted programming language with first-class functions.
-
web
Some thing interesting about web. New door for the world.
-
server
A server is a program made to process requests and deliver data to clients.
-
Machine learning
Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.
-
Visualization
Some thing interesting about visualization, use data art
-
Game
Some thing interesting about game, make everyone happy.
Recommend Org
-
Facebook
We are working to build community through open source technology. NB: members must have two-factor auth.
-
Microsoft
Open source projects and samples from Microsoft.
-
Google
Google ❤️ Open Source for everyone.
-
Alibaba
Alibaba Open Source for everyone
-
D3
Data-Driven Documents codes.
-
Tencent
China tencent open source team.
from fluentd-docker-image.