As per the telegraf Read.me for containerized instance setup, for the minimal setup:
docker run -d --name influxdb -p 8086:8086 influxdb
docker run --net=container:influxdb telegraf
generates the output:
2023-05-19T14:52:11Z I! Loading config: /etc/telegraf/telegraf.conf
2023-05-19T14:52:11Z E! [telegraf] Error running agent: no outputs found, did you provide a valid config file?
I ran docker run --rm -it --name telegraf-temp1 telegraf bash to see what the telegraf.conf file has, and found out the output sections are all commented out. Should the ReadMe.md be updated because the two commands suggested to run with the minimal setup does not work, and is mis-leading.