GithubHelp home page GithubHelp logo

Comments (9)

ilyam8 avatar ilyam8 commented on June 23, 2024

Hey, @powerman. Please open one issue with all your suggestions.

from netdata.

powerman avatar powerman commented on June 23, 2024

Hey, @powerman. Please open one issue with all your suggestions.

Sorry, I don't get it. These suggestions are not related, they should be handled independently, some may be accepted while other rejected… so what's the point in mixing them all in a single issue? Every other project insist on making separate issues/PRs for everything which can be separated…

If you want to have one my issue max then just reopen any one from just closed ones, no matter which one.

from netdata.

ilyam8 avatar ilyam8 commented on June 23, 2024

All of them are about "Install Netdata with Docker" documentation. You can open one issue and list all your suggestions. Thanks!

from netdata.

ilyam8 avatar ilyam8 commented on June 23, 2024

I'm sorry, I meant #17892, #17891, and #17893. Not this one.

@Ferroin what do you think about this request?

from netdata.

Ferroin avatar Ferroin commented on June 23, 2024

The question comes down to whether the entrypoint script and the agent itself actually correctly handle being run in /etc/netdata instead of /. That said, if docker exec /etc/netdata/edit-config does not work but opening a shell, changing directory, and running edit-config does, that’s a bug in the edit-config script.

from netdata.

powerman avatar powerman commented on June 23, 2024

Hmm. To me it's a different thing. docker exec /etc/netdata/edit-config works okay. But with WORKDIR set docker exec ./edit-config will work.

from netdata.

ilyam8 avatar ilyam8 commented on June 23, 2024

Should we just ln -s /etc/netdata/edit-config /usr/bin/? Will it do?

from netdata.

powerman avatar powerman commented on June 23, 2024

Good idea! But it won't make WORKDIR change useless - when in a container if you're in /etc/netdata then you can use shell auto-complete for existing config files. So, to me both adding symlink into /usr/bin (or, better, /usr/local/sbin) and WORKDIR /etc/netdata will provide best UX.

from netdata.

powerman avatar powerman commented on June 23, 2024

FWIW Here is one-liner example to debug plugins in docker:

sudo -u netdata -EH env -C /usr/libexec/netdata/plugins.d ./go.d.plugin -d -m nvidia_smi

Maybe worth to add it somewhere in the docs too.

from netdata.

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.