This clair documentation indicates that a number of tools should be able to scan images:
- clair-scanner
- reg
- klar
- clairctl
analyze-local-images
All of them have been tried, but none of them seems to work. All kind of issues occurred, including this:
2017-09-19 11:11:23.022625 I | Analyzing faild: Could not analyze layer:
Got response 400 with message {"Error":{"Message":"could not find layer"}}
Another issue that occurred using clairctl:
panic: runtime error: invalid memory address or nil pointer dereference
[signal SIGSEGV: segmentation violation code=0x1 addr=0x0 pc=0x518490]
does this happen with all images including official like ubuntu, alpine, tomcat?
Using clairctl it was possible to scan postgres an other images that are available on dockerhub, but scanning local images failed