Verifying the Clair Installation
rammanoj opened this issue · comments
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:
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:
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.
I don't know what klar
is. What does running a report with clairctl report
say? What do the logs say?
Your screenshot shows a 401
, that indicates you have it configured with authentication.
@hdonnay Thanks for the reply. I guess you are true. Here is the screenshot of running clairctl:
However, I have just cloned and ran docker compose. Is authentication enabled by default ?
Yes, see local-dev/clair/config.yaml
. You'll need to use that configuration. The help from the clairctl
commands should explain how.