Groups keyboard shortcuts have been updated
Dismiss
See shortcuts

Clair in a separate container

40 views
Skip to first unread message

Татьяна Ломаева

unread,
Nov 16, 2021, 1:20:55 AM11/16/21
to clair-dev
I am a beginner specialist, trying to set up clair from the repository quay.io/projectquay/clair  I can not configure the configuration. Could someone help me.
The container goes up, connects to the database, but http://ex.com:6060
returns 404
config.yaml

Hank Donnay

unread,
Nov 16, 2021, 12:06:43 PM11/16/21
to clai...@googlegroups.com
On Mon, Nov 15, 2021 at 10:20:55PM -0800, Татьяна Ломаева wrote:
>The container goes up, connects to the database, but http://ex.com:6060
>returns 404

What path did you use? You need to use an API endpoint, anything else
will 404.

--
hank

Message has been deleted

Татьяна Ломаева

unread,
Nov 18, 2021, 1:17:51 AM11/18/21
to clair-dev
I am referring to clair via paclair. At first it looked like this: POST /api/v1/layers it return 404.
I changed my paclair settings and now it looks like this:
POST /indexer/api/v1/index_report/layers HTTP/1.1" 405 66 Bad http code 405 requesting Clair
Can you please tell me how to set it up correctly?

вторник, 16 ноября 2021 г. в 21:06:43 UTC+4, hdo...@redhat.com:

Hank Donnay

unread,
Nov 18, 2021, 10:16:05 AM11/18/21
to clai...@googlegroups.com
On Wed, Nov 17, 2021 at 10:17:51PM -0800, Татьяна Ломаева wrote:
>I am referring to clair via paclair. At first it looked like this: POST
>/api/v1/layers it return 404.
>I changed my paclair settings and now it looks like this:
>POST /indexer/api/v1/index_report/layers HTTP/1.1" 405 66 Bad http code 405
>requesting Clair
>Can you please tell me how to set it up correctly?

I don't know what `paclair` is; I suspect you may be trying to use a
tool written for Clair v2. Try using the `clairctl` utility included in
the Clair repo.

--
hank

Reply all
Reply to author
Forward
0 new messages