Skip to content

Verifying the Clair Installation #1820

Closed

Description

@rammanoj

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
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

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.

@crozzy / @hdonnay

Activity

  1. changed the title [-]Help with clair Installation[/-] [+]Verifying the Clair Installation[/+] on Jul 14, 2023
  2. hdonnay commented on Jul 17, 2023

    @hdonnay
    Member

    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.

  3. rammanoj commented on Jul 17, 2023

    @rammanoj
    Author

    @hdonnay Thanks for the reply. I guess you are true. Here is the screenshot of running clairctl:
    image

    However, I have just cloned and ran docker compose. Is authentication enabled by default ?

  4. hdonnay commented on Jul 17, 2023

    @hdonnay
    Member

    Yes, see local-dev/clair/config.yaml. You'll need to use that configuration. The help from the clairctl commands should explain how.

  5. locked and limited conversation to collaborators on Jul 17, 2023
  6. converted this issue into a discussion #1821 on Jul 17, 2023
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type

    Projects

    No projects

      Milestone

      No milestone

      Relationships

      None yet

      Development

      No branches or pull requests

      Issue actions