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

clairctl health is not stable when clairctl is build through dockerfile #135

Open
poojatr opened this issue Feb 11, 2019 · 0 comments
Open

Comments

@poojatr
Copy link

poojatr commented Feb 11, 2019

The clairctl-amd-64 executable to working fine, am able to analyze private repository images too.

But when i clone the repository and try to build with the command

docker build -t clairctl .

and run the image with

docker run -d -v $PWD/conf:$HOME/clairctl/conf:Z clairctl (i need to add the config file to add the insecure registry configuration)

and then docker exec -it containerid clairctl health

2019-02-11 20:29:48.909319 E | clair: requesting Clair health: Get http://clair:6061/health: dial tcp: lookup clair on 10.32.112.10:53: server misbehaving

Clair: ✘

clair container and postgres db is up and running fine

38f9de7d3161 quay.io/coreos/clair:v2.0.7 "/clair -config=/c..." 6 hours ago Up 6 hours suspicious_archimedes
cb533167136e postgres:latest "docker-entrypoint..." 6 hours ago Up 6 hours 0.0.0.0:5432->5432/tcp youthful_wozniak

docker logs 38f9
shows no trace of contact from clairctl container


i guess am missing some instruction to connect clairctl with clair

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