banyanops / collector

A framework for Static Analysis of Docker container images
Other
290 stars 23 forks source link

execept.Error:27 #22

Closed sbehrens closed 8 years ago

sbehrens commented 8 years ago
[13:24:10 2016/01/05 -0800] [EROR] (except.Error:27) Get http://example.com/version: dial unix /var/run/docker.sock: connect: no such file or directory :DockerAPI URL http://example.com/version client request failed

I'm not sure what example.com is...not specifing that via the CLI at all:

sudo COLLECTOR_DIR=$PWD $GOPATH/bin/collector http://REDACTED hello-appname

Any ideas?

yoshiotu commented 8 years ago

By default, collector talks to your docker daemon via local unix socket /var/run/docker.sock. You can point collector to a different socket (unix or tcp) using command line flags --dockeraddr and --dockerproto.