Container metrics collection -- Telegraf (on windows) throws error, when configured for docker

Telegraf, Chronograf,Influxdb - all running locally on windows 10 Pro-64-bit laptop.

As am a new user, I cannot attach the telegraf.conf here. Never seen a forum so restrictive like this.

Telegraf throws runtime error, when inputs.docker section is configured.

Error below :

J:\telegraf>telegraf --config telegraf.conf
2017-10-02T15:07:17Z I! Starting Telegraf v1.4.1
2017-10-02T15:07:17Z I! Loaded outputs: influxdb
2017-10-02T15:07:17Z I! Loaded inputs: inputs.mem inputs.swap inputs.system inputs.docker inputs.cpu inputs.disk inputs.diskio inputs.kernel
2017-10-02T15:07:17Z I! Tags enabled: host=M2K13-LT-WIN8
2017-10-02T15:07:17Z I! Agent Config: Interval:10s, Quiet:false, Hostname:“M2K13-LT-WIN8”, Flush Interval:10s
panic: runtime error: invalid memory address or nil pointer dereference
[signal 0xc0000005 code=0x0 addr=0x38 pc=0xb6be7e]

goroutine 28 [running]:
github.com-influxdata/telegraf/plugins/inputs/docker.(*Docker).gatherInfo(0xc042166480, 0x1c8ae00, 0xc0422788c0, 0x0, 0x0)
/home/ubuntu/telegraf-build/src/github.com/influxdata/telegraf/plugins/inputs/docker/docker.go:198 +0x15e
github.com-influxdata/telegraf/plugins/inputs/docker.(*Docker).Gather(0xc042166480, 0x1c8ae00, 0xc0422788c0, 0x0, 0x0)
/home/ubuntu/telegraf-build/src/github.com/influxdata/telegraf/plugins/inputs/docker/docker.go:158 +0x9b
github.com-influxdata/telegraf/agent.gatherWithTimeout.func1(0xc04239e2a0, 0xc04210c9c0, 0xc0422788c0)
/home/ubuntu/telegraf-build/src/github.com/influxdata/telegraf/agent/agent.go:153 +0x50
created by github.com-influxdata/telegraf/agent.gatherWithTimeout
/home/ubuntu/telegraf-build/src/github.com/influxdata/telegraf/agent/agent.go:154 +0xd3

This is a bug, thank you for opening an issue: