Docker Permissions


Recommended Posts

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?

Link to comment
  • 3 months later...

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.

Guest
Reply to this topic...

×   Pasted as rich text.   Restore formatting

  Only 75 emoji are allowed.

×   Your link has been automatically embedded.   Display as a link instead

×   Your previous content has been restored.   Clear editor

×   You cannot paste images directly. Upload or insert images from URL.