Use the following procedures to set up an {ocp} provisioned Clair pod in a disconnected {ocp} cluster.
Use the following procedure to install the clairctl
CLI tool for {ocp} deployments.
Procedure
-
Install the
clairctl
program for a Clair deployment in an {ocp} cluster by entering the following command:$ oc -n quay-enterprise exec example-registry-clair-app-64dd48f866-6ptgw -- cat /usr/bin/clairctl > clairctl
NoteUnofficially, the
clairctl
tool can be downloaded -
Set the permissions of the
clairctl
file so that it can be executed and run by the user, for example:$ chmod u+x ./clairctl