optiopay / klar

Integration of Clair and Docker Registry
MIT License
507 stars 140 forks source link

Support of upcoming Clair V3 API (GRPC API) #67

Closed hashmap closed 6 years ago

hashmap commented 6 years ago

Also feature name (component) is added to vulnerability output.

Some background: support of V1 API (I'm not sure what happened with V2) was dropped in the master branch of Clair, so Clair V3 will have only GRPC API. You may try to build Clair V3 from master branch or use quay.io/coreos/clair-git docker image to test it.

Klar 2.0 supports both versions of API, it first tries to use V1 (JSON HTTP) API, if it fails Klar switches to V3.