Skip to content

Instantly share code, notes, and snippets.

What would you like to do?
docker network create influxdb
docker run --rm telegraf telegraf config > telegraf.conf
docker run -d --restart always --name influxdb --net=influxdb -p 8086:8086 influxdb
docker run -d --restart always --name=telegraf --net=influxdb -v /Users/hasanbasri1/telegraf.conf:/etc/telegraf/telegraf.conf:ro telegraf
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment