priate Posted October 8, 2020 Share Posted October 8, 2020 Hey guys i'm trying to get this docker image work sabrsorensen/alpine-plex_autoscan. Everything works but when the image tries to connect to the docker socket it gets denied. `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.40/containers/Plex-Media-Server/json: dial unix /var/run/docker.sock: connect: permission denied'` I have uploaded a screenshot of my template. I have not modified any groups or users. Everything is as is from a fresh unraid install. Please let me know what I am doing wrong thank you. Quote Link to comment
priate Posted October 18, 2020 Author Share Posted October 18, 2020 On 10/9/2020 at 8:14 PM, priate said: anyone? hello? ;( Quote Link to comment
Andiroo2 Posted November 5, 2021 Share Posted November 5, 2021 Running into this issue today myself. Did you ever figure this out? My error is coming from Telegraf when connecting to the Docker service to get the CPU and memory stats. Quote Link to comment
Andiroo2 Posted November 5, 2021 Share Posted November 5, 2021 17 hours ago, Andiroo2 said: Running into this issue today myself. Did you ever figure this out? My error is coming from Telegraf when connecting to the Docker service to get the CPU and memory stats. Restarting the server fixed it for me. Quote Link to comment
Towstie Posted November 10, 2021 Share Posted November 10, 2021 On 11/4/2021 at 6:20 PM, Andiroo2 said: Running into this issue today myself. Did you ever figure this out? My error is coming from Telegraf when connecting to the Docker service to get the CPU and memory stats. On 11/5/2021 at 12:06 PM, Andiroo2 said: Restarting the server fixed it for me. I'm having this same issue as of today. A restart did not fix it. I've tried reinstalling telegraf. Still no dice. Anyone with this issue? Quote Link to comment
socono Posted November 26, 2021 Share Posted November 26, 2021 I had the same errors and found the comment in the below link about adding " --user telegraf:$(stat -c '%g' /var/run/docker.sock) " to the container parameters worked for me. https://github.com/influxdata/telegraf/issues/10050 3 Quote Link to comment
RichJacot Posted November 29, 2021 Share Posted November 29, 2021 Sorry for the noob question but do you add this as a variable? Not sure where to put it. TIA Quote Link to comment
hamish_18 Posted December 3, 2021 Share Posted December 3, 2021 when you edit the docker, click the advanced switch in the upper right. Then when you edit the docker, click the advanced view switch in the upper right. Next, you paste that line above in to the Extra Parameters spot: Click Apply, and you won't see the error any longer. I found this thread just now as I too noticed the error when looking at logs, and tried this, and it works. Cheers! 1 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.