Help with clair Installation

87 views
Skip to first unread message

Rammanoj Potla

unread,
Jul 14, 2023, 6:18:36 PM7/14/23
to clai...@googlegroups.com
Hi team,

I have been trying to install clair all day today. I couldn't even figure out what's happening wrong or how to verify if my installation went well. I followed the instructions given here. I have four containers running locally:
image.png

I visited http:localhost:8080/, and traefik is showing everything in green. So, I ran an image scan with Klar, but it failed. To verify if my clair is installed correctly. I visited http://localhost:6060/indexer and even the matcher's URL as well. It prompted me:
image.png
I also visited http://0.0.0.0:51221/ to check if the quay came up. But it replied "Service Unavailable". 

Is the clair actually running ? How do I verify if it's working? I could not find any help in the documentation regarding this issue.

Any help would be appreciated.

With Regards,
Rammanoj Potla

Joseph Crosland

unread,
Jul 14, 2023, 6:24:56 PM7/14/23
to clair-dev
It looks like all the services came up as expected, your default API route should be http://localhost:6060/. You can run a report with clairctl, i.e. clairctl -D -c local-dev/clair/config.yaml report -o json ubuntu:latest

Let me know how it goes,

Crozzy
Reply all
Reply to author
Forward
0 new messages