Clair container fails to start with error: failed to initialize notifier on RHEL 8
Issue
-
Experience error when trying to set up clairv4 as a container with podman:
{"level":"error","component":"main","error":"service initialization failed: failed to initialize notifier: failed to connect to `host=/tmp user=nobody database=`: dial error (dial unix /tmp/.s.PGSQL.5432: connect: no such file or directory)","time":"2023-02-07T09:35:29Z","message":"fatal error"}
Environment
- Red Hat Quay (Quay)
- 3
- Red Hat Enterprise Linux (RHEL)
- 8
Subscriber exclusive content
A Red Hat subscription provides unlimited access to our knowledgebase, tools, and much more.