March 1, 20197 yr 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?
June 16, 20197 yr 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, 20197 yr by hdebeuf
Archived
This topic is now archived and is closed to further replies.