-
Bug
-
Resolution: Done
-
Minor
-
None
-
False
-
False
-
Undefined
-
Compare main
% podman run --network=none -v $(pwd):/src --rm -it -w /src docker.io/library/golang:latest go run -mod=vendor ./cmd/clair -conf ./local-dev/clair/config.yaml 7:51PM DBG logging initialized component=initialize/Logging 7:51PM INF starting component=main version= 7:51PM INF registered signal handler component=main 7:51PM INF ready component=main version= 7:51PM INF launching http transport component=main 7:51PM INF launching introspection server component=main 7:51PM INF no introspection address provided; using default address=:8089 component=introspection/New 7:51PM WRN no health check configured; unconditionally reporting OK component=introspection/New 7:51PM INF configuring prometheus component=introspection/Server.withPrometheus endpoint=/metrics server=:8089 7:51PM INF begin service initialization component=initialize/Services 7:51PM INF configuring jaeger exporter to push to agent component=introspection/Server.withJaeger endpoint=jaeger:6831 7:51PM INF end service initialization component=initialize/Services 7:51PM ERR initialization failed error="context canceled" component=main exit status 1
and release-4.0
% podman run --network=none -v $(pwd):/src --rm -it -w /src docker.io/library/golang:latest go run -mod=vendor ./cmd/clair -conf ./local-dev/clair/config.yaml 7:53PM INF logging initialized component=init/Init.Logging 7:53PM INF begin service initialization component=init/Init.Services 2021/03/19 19:53:40 initialized failed: failed to initialize libindex: failed to create ConnPool: failed to connect to `host=clair-db user=clair database=clair`: hostname resolving error (lookup clair-db on 1.0.0.1:53: dial udp 1.0.0.1:53: connect: network is unreachable) exit status 1