We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
1 parent 3ea15d1 commit 751053dCopy full SHA for 751053d
examples/grafana-monitoring/docker-compose.yml
@@ -49,7 +49,7 @@ services:
49
telegraf:
50
image: telegraf:latest
51
restart: unless-stopped
52
- user: telegraf:998 # see: https://www.influxdata.com/blog/docker-run-telegraf-as-non-root/
+ user: telegraf:$(stat -c '%g' /var/run/docker.sock) # see: https://www.influxdata.com/blog/docker-run-telegraf-as-non-root/
53
container_name: telegraf
54
hostname: telegraf
55
dns:
0 commit comments