milosgajdos/tenus

Please use valid hostname in DockerPidByName when using unix sockets

renkam opened this issue · 0 comments

Currently when docker API is served via UNIX sockets a http request is constructed with used as hostname. This gives (with golang 1.6) following error:

Fail to create http request: parse http:// /containers/e41fcca44e18c5275/json: invalid character " " in host name

Please use a valid hostname instead 'example.com' might be good :-)