yebinama / paclair

Paclair is a Python3 Cli tool to interact with Coreos's Clair (https://github.com/coreos/clair).
Apache License 2.0
27 stars 13 forks source link

paclair fails with localhost docker registry #27

Open fxdgear opened 4 years ago

fxdgear commented 4 years ago

I'm trying to test something with paclair using a localhost registry.

When I create my registry in the conf:

Plugins:
  Docker:
    class: paclair.plugins.docker_plugin.DockerPlugin
    registries:
      localhost:5000:
        auth:
          - "admin"
          - "badmin"

Then when I attempt to scan an image localhost:5000/namespace/name:tag it attempts to get the image data from the docker hub.

yebinama commented 4 years ago

Hi,

Could you launch the command in debug mode and copy/paste the logs?