surfshack66 Posted March 1, 2019 Share Posted March 1, 2019 Running into this error related to permissions. 2019-02-28T20:40:55.049-0500 ERROR instance/beat.go:911 Exiting: error in autodiscover provider settings: 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.22/containers/json?limit=0: dial unix /var/run/docker.sock: connect: permission denied Exiting: error in autodiscover provider settings: 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.22/containers/json?limit=0: dial unix /var/run/docker.sock: connect: permission denied This is a Metricbeat container running on host network. Essentially following the references https://www.elastic.co/guide/en/beats/metricbeat/6.6/running-on-docker.html Some of the solutions I have found online say "add the current user to the docker group", but I'm not sure how to do that or if it even applies on unraid. Is anyone familiar with this error and how to resolve it? Quote Link to comment
hdebeuf Posted June 16, 2019 Share Posted June 16, 2019 (edited) Switch in Advanced view and try to add --user=root in the Extra Parameters field. This is required according to Elastic documentation here. Edited June 16, 2019 by hdebeuf Quote Link to comment
Recommended Posts
Join the conversation
You can post now and register later. If you have an account, sign in now to post with your account.
Note: Your post will require moderator approval before it will be visible.