jgsqware / clairctl

Tracking container vulnerabilities with Clair Control for CoreOS Clair
Apache License 2.0
229 stars 82 forks source link

Remotely access Clairctl #105

Open SyCode7 opened 6 years ago

SyCode7 commented 6 years ago

Thanks for this great tool ! I'd like to remotely send commands to clairctl and i am not sure how to go about this. I thought i could do this via the config file clairctl.yml but it doesn't work instead I receive an error message Post http://clair:6060/v1/layers: dial tcp: lookup clair on 127.0.1.1:53: no such host. Could you I get some pointers to the right direction ? I installed via the installation script curl -L https://raw.githubusercontent.com/jgsqware/clairctl/master/install.sh | sh on Ubuntu 14.04.

jgsqware commented 6 years ago

Hello, I don't get when you say send remote command

clairctl is run locally and push on clair container remotely.

What you have to do is configure in clairctl.yml the url of your clair server: https://github.com/jgsqware/clairctl/blob/master/clairctl.yml.default#L8