You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
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.
Activity
[-]Help with clair Installation[/-][+]Verifying the Clair Installation[/+]hdonnay commentedon Jul 17, 2023
I don't know what
klaris. What does running a report withclairctl reportsay? What do the logs say?Your screenshot shows a
401, that indicates you have it configured with authentication.rammanoj commentedon Jul 17, 2023
@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 ?
hdonnay commentedon Jul 17, 2023
Yes, see
local-dev/clair/config.yaml. You'll need to use that configuration. The help from theclairctlcommands should explain how.