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

"clair" container quits with {"Event":"pgsql: could not open database: dial tcp 172.17.0.2:5432: connect: connection timed out ...}} #137

Open
mcrabtree1 opened this issue Oct 27, 2023 · 0 comments

Comments

@mcrabtree1
Copy link

I am running the following images
arminc/clair-db latest 6a8cb71f8d1e
arminc/clair-local-scan latest c36c0c0115ca

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

clair container quits working after 3min with the following output for $docker logs clair

{"Event":"pgsql: could not open database: dial tcp 172.17.0.2:5432: connect: connection timed out","Level":"fatal","Location":"main.go:97","Time":"2023-10-27 17:03:22.738006"}

Not certain where to proceed

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