-
Notifications
You must be signed in to change notification settings - Fork 307
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Telegraf docker error - just me ? #625
Comments
I ended up with a compose as below which seems to work.. The user is the pertinent part.
|
Well, here's my service definition:
I just did a clean-slate install:
The result in the log:
Metrics are also turning up in InfluxDB so that's working too. I'm not saying this is the answer but problems involving
To the best of my recollection, the current user not being a member of group The mechanism by which the current user gains access to
How your
So, on my system at least, Beats me! Anyway, perhaps try the |
Just as an experiment, I removed the current user from the
That's the same error but it lacks the "2022-11-09T14:31:00Z E! [inputs.docker] Error in plugin: Got " preamble which shows yours is coming from Of course, not being a member of When I try:
my container hasn't even come up. I suppose I could try to follow-through using So, have you also been using If this combination (not being in I still can't explain how |
I saw this error in my logs:
2022-11-09T14:31:00Z E! [inputs.docker] Error in plugin: Got permission denied while trying to connect to the Docker daemon socket at unix:///var/run/docker.sock: Get "http://%2Fvar%2Frun%2Fdocker.sock/v1.24/containers/json?filters=%7B%22status%22%3A%7B%22running%22%3Atrue%7D%7D&limit=0": dial unix /var/run/docker.sock: connect: permission denied
after some investigation I saw this
docker/compose#1532 (comment)
Is this something to do with file permissions pls ?
The text was updated successfully, but these errors were encountered: