clair-scanner icon indicating copy to clipboard operation
clair-scanner copied to clipboard

Failed to analyze using API

Open karthiknannapaneni opened this issue 6 years ago • 2 comments

Clair not working with Klar API.

docker run -e CLAIR_ADDR="http://localhost:6060" -e CLAIR_OUTPUT=Unknown -e CLAIR_THRESHOLD=10 klar centos:7 clair timeout 1m0s docker timeout: 1m0s no whitelist file Analysing 1 layers Failed to analyze using API v1: push image https://registry-1.docker.io/v2/library/centos:7 to Clair failed: can't push layer to Clair: Post http://localhost:6060/v1/layers: dial tcp 127.0.0.1:6060: getsockopt: connection refused

Failed to analyze using API v3: push image https://registry-1.docker.io/v2/library/centos:7 to Clair failed: rpc error: code = Unavailable desc = all SubConns are in TransientFailure

karthiknannapaneni avatar Apr 15 '19 13:04 karthiknannapaneni

Facing the same exact issue, any update?

Clement-OUDIN avatar Dec 09 '20 18:12 Clement-OUDIN

Facing the same issue stated by @karthiknannapaneni.

Any help will be much appreciated.

Kinjal05 avatar Feb 10 '22 05:02 Kinjal05