October 17, 20205 yr Hey guys, i am trying to monitor Unraid docker using Zabbix agent. My Zabbix cannot fetch data from docker engine and I am 100% assured that this is permission issue. I've mounted all necessary volumes to the container: /var/run/docker.sock:/var/run/docker.sock /var/run:/var/run /sys:/sys /var/lib/docker/:/var/lib/docker/ When i run this command inside docker ls -l /var/run/docker.sock i get: srw-rw---- 1 root 281 0 Oct 17 19:51 /var/run/docker.sock When i run same command in unraid cli i get this: srw-rw---- 1 root docker 0 Oct 17 19:51 /var/run/docker.sock= I am not 100% sure if adding PGID=0 and PUID=0 has done any changes. What I know for sure is that zabbix is accessing docker as user zabbix, so i created user zabbix and then added zabbix user to the docker group using this command: gpasswd -a zabbix docker But no luck at all. Can someone help please?
Archived
This topic is now archived and is closed to further replies.