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
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