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