Comments (20)
@schasse @Lawouach @kuroneko25 @jescarri
The repo contains supported Debian based image now.
from fluentd-docker-image.
Having the same issue and agree with @jescarri.
It would be nice to have Debian/Ubuntu based official images of fluentd for building own images on top of them.
Why not support both Alpine and Ubuntu/Debian version as official images usually do (Nginx, PHP)?
from fluentd-docker-image.
Just a comment on not supporting Ubuntu images when some native plugins may not be compile with Alpine. This is unfortunate.
from fluentd-docker-image.
AFAIK, Alpine Linux doesn't use systemd and they don't focus on systemd support.
I'm not sure how to use systemd in Alpine Linux.
if you need to use systemd in your container, using ubuntu or other OS is better.
from fluentd-docker-image.
Yea, I went into that route, using debian, maybe deprecating the Ubuntu image is not a good idea?
from fluentd-docker-image.
I have something already, I will submit a PR, in the afternoon.
from fluentd-docker-image.
@jescarri any news?
from fluentd-docker-image.
We have the same issue here. Any updates? Meanwhile what is a good workaround?
from fluentd-docker-image.
ubuntu-base tag doesn't work?
from fluentd-docker-image.
fluent-plugin-systemd is running into issues with not finding the libsystemd dependency. I've forked the ubuntu image and added app-get-install libsystemd-journal0
.
2016-11-15T22:33:44.025186588Z 2016-11-15 22:33:44 +0000 [info]: reading config file path="/fluentd/etc/fluent.conf"
2016-11-15T22:33:44.027556160Z 2016-11-15 22:33:44 +0000 [info]: starting fluentd-0.12.26
2016-11-15T22:33:44.089074703Z 2016-11-15 22:33:44 +0000 [info]: gem 'fluent-plugin-kubernetes_metadata_filter' version '0.26.2'
2016-11-15T22:33:44.089100686Z 2016-11-15 22:33:44 +0000 [info]: gem 'fluent-plugin-systemd' version '0.0.5'
2016-11-15T22:33:44.089168695Z 2016-11-15 22:33:44 +0000 [info]: gem 'fluentd' version '0.12.26'
2016-11-15T22:33:44.089243919Z 2016-11-15 22:33:44 +0000 [info]: adding match pattern="fluent.**" type="null"
2016-11-15T22:33:44.089455429Z 2016-11-15 22:33:44 +0000 [info]: adding filter pattern="kubernetes.**" type="kubernetes_metadata"
2016-11-15T22:33:44.378391986Z 2016-11-15 22:33:44 +0000 [info]: adding match pattern="kubernetes.**" type="splunk_ex"
2016-11-15T22:33:44.378645013Z 2016-11-15 22:33:44 +0000 [info]: adding source type="tail"
2016-11-15T22:33:44.381014587Z 2016-11-15 22:33:44 +0000 [info]: adding source type="systemd"
2016-11-15T22:33:44.402172285Z /home/ubuntu/.gem/ruby/2.2.0/gems/ffi-1.9.14/lib/ffi/library.rb:147:in `block in ffi_lib': Could not open library 'libsystemd.so.0': libsystemd.so.0: cannot open shared object file: No such file or directory. (LoadError)
2016-11-15T22:33:44.402222852Z Could not open library 'libsystemd.so': libsystemd.so: cannot open shared object file: No such file or directory.
2016-11-15T22:33:44.402227685Z Could not open library 'libsystemd-id128.so.0': libsystemd-id128.so.0: cannot open shared object file: No such file or directory.
2016-11-15T22:33:44.402230810Z Could not open library 'libsystemd-id128.so': libsystemd-id128.so: cannot open shared object file: No such file or directory
2016-11-15T22:33:44.402234056Z from /home/ubuntu/.gem/ruby/2.2.0/gems/ffi-1.9.14/lib/ffi/library.rb:100:in `map'
2016-11-15T22:33:44.402240983Z from /home/ubuntu/.gem/ruby/2.2.0/gems/ffi-1.9.14/lib/ffi/library.rb:100:in `ffi_lib'
2016-11-15T22:33:44.402244355Z from /home/ubuntu/.gem/ruby/2.2.0/gems/systemd-journal-1.2.3/lib/systemd/id128.rb:48:in `<module:Native>'
2016-11-15T22:33:44.402247336Z from /home/ubuntu/.gem/ruby/2.2.0/gems/systemd-journal-1.2.3/lib/systemd/id128.rb:45:in `<module:Id128>'
2016-11-15T22:33:44.402250630Z from /home/ubuntu/.gem/ruby/2.2.0/gems/systemd-journal-1.2.3/lib/systemd/id128.rb:6:in `<module:Systemd>'
2016-11-15T22:33:44.402253658Z from /home/ubuntu/.gem/ruby/2.2.0/gems/systemd-journal-1.2.3/lib/systemd/id128.rb:3:in `<top (required)>'
from fluentd-docker-image.
+1 to @Lawouach
@repeatedly repeating my question: is there any real reason not to support both Ubuntu/Debian-based and Alpine-based images?
If not, I can contribute stuff.
from fluentd-docker-image.
We don't have a enough time to maintain two versions.
If someone can continue to improve ubuntu based image, fix bug / handle issue and questions / etc,
we can accept it.
from fluentd-docker-image.
@repeatedly I can help and improve project layout/stuff to make image maintaining easier.
I'll submit PR in a week or so, if you don't mind.
from fluentd-docker-image.
Okay. I will wait it ;)
from fluentd-docker-image.
same issue here
from fluentd-docker-image.
#71 is patch for this issue.
From our experience, almost td-agent users are CentOS(RHEL) or Ubuntu.
So I want to know debian is ok or not.
from fluentd-docker-image.
Ok, let's see...
Container is not a VM, it's rather a single running application. So the distros difference is not a concern here. What we really need here is:
- GNU libc based distro.
- Convenient package tool to install system dependencies for Fluentd plugins.
All the distros - CentOS, Ubuntu and Debian - meet these requirements quite well.
The reasons why choose Debian are:
- Debian images have
slim
versions which are the lightest ones (~30 MB Debian vs ~40 MB Ubuntu vs ~70 MB CentOS) - Most popular official images have their main version based on Debian: PHP, Nginx, Apache, Memcached, MySQL, Postgres, even Ruby, and so on...
from fluentd-docker-image.
Yes but package versions and maintenance policy is different.
I don't have a counter opinion for Debian.
So if users are ok for debian, I can merge the patch.
from fluentd-docker-image.
If there is no objection for debian, I will merge #71 tomorrow.
from fluentd-docker-image.
This issue should be fixed by Debian based image.
from fluentd-docker-image.
Related Issues (20)
- 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 HOT 1
- Feature request: Please provide a `latest-debian` tag on Docker Hub HOT 1
- 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 HOT 1
- 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 17
- v1.17 images missing HOT 2
- RESOLVED: Workaround: disable jemalloc when image crashed (segmentation fault) with systemd plugin 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.