Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

[CRIT] Could not analyze layer: POST to Clair failed Post http://127.0.0.1:6060/v1/layers: dial tcp 127.0.0.1:6060: getsockopt: connection refused #135

Open
mandarpimplapure opened this issue Jul 14, 2023 · 0 comments

Comments

@mandarpimplapure
Copy link

mandarpimplapure commented Jul 14, 2023

Hi,

I pulled mentioned 2 docker images and trying to scan the docker images for vulerabilities but getting an error :

docker run -p 5432:5432 -d --name db arminc/clair-db:latest
docker run -p 6060:6060 --link db:postgres -d --name clair arminc/clair-local-scan:latest

Also have a binary to scan the images. However, I keep getting the below:

./clair-scanner_linux_386 -r "report.json" --ip {IP-of-clair-container} {image-name}
2023/07/14 08:06:27 [INFO] ▶ Start clair-scanner
2023/07/14 08:06:45 [INFO] ▶ Server listening on port 9279
2023/07/14 08:06:45 [INFO] ▶ Analyzing 22a104181b6084cc73415709a1929a8282d2da7196e57cd300ca72f5a45b835e
2023/07/14 08:06:45 [CRIT] ▶ Could not analyze layer: POST to Clair failed Post http://127.0.0.1:6060/v1/layers: dial tcp 127.0.0.1:6060: getsockopt: connection refused

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

1 participant