You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Solved it in my case by adding out custom CA to the container running REG and pointing reg (-r) to the route of the internal registry of Openshift instead of the service.
I am not able to get reg working. My setup is:
To access the openshift registry you need a token:
Using this token I can do for example a docker login:
Now I am able to push and pull images.
I also use this token in reg and clair to read the manifest and image layers in the examples below:
Using reg form inside the reg container I can list images in the pls-clair inside my registry, using my openshift authentication token:
I run reg sever in the reg container with the follow arguments:
It serves the static web page with the images in my registry and their individual tags. It is not able to service layer information.
This is what I see in the reg log when I try to view the pls-clair/clair:v2.1.2 image from the static web page:
And in the clair log I see this at the same time:
In the registry I see this at the same time:
I am not sure what's going wrong. To troubleshoot I tried the following steps:
The full output can be found here: https://pastebin.com/FqCNP1fh
The logging in the clair container:
A http status 201 looks okay, I think (201 = result of HTTP POST request, one or more new resources have been successfully created on server).
Now back to reg and the error I got in the first place while running reg server:
According the clair v1 api documentation a http status 400 means "The body of the request invalid". Does reg request to clair in the correct way?
Were it I go wrong? How can I resolve this. or troubleshoot. Any feedback is welcome.
The text was updated successfully, but these errors were encountered: