Closed netcat2024 closed 8 months ago
Please provide the Clair logs and the JSON output from clairctl
.
Please provide the Clair logs and the JSON output from
clairctl
.
Can you tell me how to provide the Clair logs and the JSON output from clairctl
? I don't know how to collect these information.
I found the answer.
change docker-compose up -d
to docker-compose --profile debug up
. It can report vulnerabilities.
I believe the example configuration also drifted over time; we've updated that and the documentation. Glad you got things working.
Description of Problem / Feature Request
when calling Clair it always return OK
Expected Outcome
Clair should report vulnerabilities
Actual Outcome
command:
clairctl -D report ubuntu:focal
return:
Environment
clairctl's config.yaml
clair : download the newest version clair and then :
uname -a
): Linux deng-VirtualBox 5.15.0-92-generic #102~20.04.1-Ubuntu SMP Mon Jan 15 13:09:14 UTC 2024 x86_64 x86_64 x86_64 GNU/Linuxkubectl version
): n/a