Giter VIP home page Giter VIP logo

Comments (3)

rohit01 avatar rohit01 commented on August 16, 2024

Fundamentally, I agree with your suggestion. Ideally, we should build docker images using a smaller base like alpine Linux.
In this case, I feel it would make little difference in the final image size. The reason being many packages being installed while building the image (see Dockerfile).

I could foresee a number of issues, such as monitoring using standard utilities (curl, wget, ping, openssl), but I hope it would be kind of simple :).

What issues?

from docker_shinken.

LordMike avatar LordMike commented on August 16, 2024

Issues like you need a load of packages that, as you say, would defeat the purpose of the smaller image. With nagios, you're basically encouraged to create commands that utilize standard functions and tools in linux, such as curl, wget or anything building on openssl etc.

Making a small image would potentially take a lot of time as one would have to select out all the different tools a user might use.. On the other hand.. In the docker spirit, the user should create their own image based on this with just the tools they need.

Would it be possible to not leave build tools in the image?

I've seen a lot of projects leave tools in it (git, build-essentials etc.), but haven't really seen anybody clean up or transfer artifacts over a "clean" image...

from docker_shinken.

rohit01 avatar rohit01 commented on August 16, 2024

Size is the primary reason for having 3 image variants - shinken (541 MB), shinken_thruk (681 MB) and shinken_thruk_graphite (790 MB). This is after keeping only essential packages in the image.

I agree, it could be improved further. My basic idea was to help people get started with monitoring systems as the learning curve is very high. I have not yet run these images in production.

I would highly appreciate if you could transform your ideas into a pull request. I will happily review and merge them :)

from docker_shinken.

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.