Giter VIP home page Giter VIP logo

Comments (20)

tyranron avatar tyranron commented on June 29, 2024 3

@schasse @Lawouach @kuroneko25 @jescarri
The repo contains supported Debian based image now.

from fluentd-docker-image.

tyranron avatar tyranron commented on June 29, 2024 1

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.

Lawouach avatar Lawouach commented on June 29, 2024 1

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.

repeatedly avatar repeatedly commented on June 29, 2024

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.

jescarri avatar jescarri commented on June 29, 2024

Yea, I went into that route, using debian, maybe deprecating the Ubuntu image is not a good idea?

from fluentd-docker-image.

jescarri avatar jescarri commented on June 29, 2024

I have something already, I will submit a PR, in the afternoon.

from fluentd-docker-image.

tyranron avatar tyranron commented on June 29, 2024

@jescarri any news?

from fluentd-docker-image.

kuroneko25 avatar kuroneko25 commented on June 29, 2024

We have the same issue here. Any updates? Meanwhile what is a good workaround?

from fluentd-docker-image.

repeatedly avatar repeatedly commented on June 29, 2024

ubuntu-base tag doesn't work?

from fluentd-docker-image.

kuroneko25 avatar kuroneko25 commented on June 29, 2024

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.

tyranron avatar tyranron commented on June 29, 2024

+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.

repeatedly avatar repeatedly commented on June 29, 2024

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.

tyranron avatar tyranron commented on June 29, 2024

@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.

repeatedly avatar repeatedly commented on June 29, 2024

Okay. I will wait it ;)

from fluentd-docker-image.

schasse avatar schasse commented on June 29, 2024

same issue here

from fluentd-docker-image.

repeatedly avatar repeatedly commented on June 29, 2024

#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.

tyranron avatar tyranron commented on June 29, 2024

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:

  1. GNU libc based distro.
  2. 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.

repeatedly avatar repeatedly commented on June 29, 2024

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.

repeatedly avatar repeatedly commented on June 29, 2024

If there is no objection for debian, I will merge #71 tomorrow.

from fluentd-docker-image.

repeatedly avatar repeatedly commented on June 29, 2024

This issue should be fixed by Debian based image.

from fluentd-docker-image.

Related Issues (20)

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo 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.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google ❤️ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.