balena-io-examples/multicontainer-getting-started

/usr/bin/telegraf: line 1: syntax error: unexpected word

jgentes opened this issue · 2 comments

I setup the multicontainer repo and it worked fine, added the /metrics folder along with the Dockerfile and telegraf.conf as well as the INFLUX_URL, INFLUX_USER, and INFLUX_PASS, and I'm seeing this in the log when it tries to start the Metrics container:

 metrics  /usr/bin/telegraf: line 1: syntax error: unexpected word (expecting ")")
02.04.18 15:33:26 (-0700) Service exited 'metrics sha256:1409f8eb942f6d0e2fab95c75985f093de5344e89584d1daae84f726c0b3c203'

I am running on an Intel NUC rather than a Pi, so I changed the Dockerfile to resin/intel-nuc-alpine:latest

And it looks like the telegraph setup is configured for ARM, so that's probably the issue. I'll post an updated Dockerfile here if I get it figured out.