arminc / clair-local-scan

Run CoreOs Clair standalone
GNU Affero General Public License v3.0
254 stars 56 forks source link

once I use arminc/clair-db latest,the container clair_clair is always restarting,why? #30

Open iver3on opened 5 years ago

iver3on commented 5 years ago

image

iver3on commented 5 years ago

where need to edit?

iver3on commented 5 years ago

{"Event":"database migration ran successfully","Level":"info","Location":"pgsql.go:266","Time":"2019-02-18 12:04:49.844586"} {"Description":"soiDetector","Event":"database: handled database error","Level":"error","Location":"pgsql.go:329","Time":"2019-02-18 12:04:49.845365","error":"pq: relation \"detector\" does not exist"} {"Event":"cannot insert detectors to initialize worker","Level":"fatal","Location":"worker.go:472","Time":"2019-02-18 12:04:49.845443","error":"database: an error occurred when querying the backend"}

your sql has not detectors ?