quay / clair

Vulnerability Static Analysis for Containers

Home Page:https://quay.github.io/clair/

Geek Repo:Geek Repo

Github PK Tool:Github PK Tool

how can run the project

xwb1993 opened this issue · comments

I haved download the clair-release-4.3,but when run clair\cmd\clair\main.go,shows
must provide a -conf flag or set "CLAIR_CONF" in the environment.
How can I solve it? Thanks!

You must provide a -conf flag or set "CLAIR_CONF" in the environment, the value of either being the path to clair's config file.

You must provide a -conf flag or set "CLAIR_CONF" in the environment, the value of either being the path to clair's config file.

github

Thank you for your reply! But i'm not sure which one is clair's config file inneed,like this?

Yes, that's the format that's needed. You'll have to customize it to your environment, as described here. You can also find short explanations for the configuration keys here.

Yes, that's the format that's needed. You'll have to customize it to your environment, as described here. You can also find short explanations for the configuration keys here.

Thank you very much!
Uploading 1.png…