arminc / clair-scanner

Docker containers vulnerability scan
Apache License 2.0
846 stars 151 forks source link

Got Response 422 "worker: OS and/or package manager are not supported" #110

Open kalrashubham49 opened 3 years ago

kalrashubham49 commented 3 years ago

Hello everyone,

I am using clair scanner, and while i start the scan "clair-scanner-master ./clair-scanner --ip 192.168.1.100 alpine:edge" where 192.168.1.100 is my en0 address. i am running into below issue , Can anyone see what could be causing this issue ?

➜ clair-scanner-master ./clair-scanner --ip 192.168.1.100 alpine:edge 2020/11/19 07:38:30 [INFO] ▶ Start clair-scanner 2020/11/19 07:38:30 [INFO] ▶ Server listening on port 9279 2020/11/19 07:38:30 [INFO] ▶ Analyzing 59091c18eee0b24b5e9777d96b4681f10972f689173768864bfc2cb78fbbf244 2020/11/19 07:38:31 [CRIT] ▶ Could not analyze layer: Clair responded with a failure: Got response 422 with message {"Error":{"Message":"worker: OS and/or package manager are not supported"}}

DonaldKallman commented 2 years ago

I got the same error when scanning an image based on almalinux. Really strange.

JDuvillard commented 1 year ago

Me too, even if I used a latest image