Skip to content

Files

Latest commit

 

History

History
35 lines (28 loc) · 980 Bytes

clair-clairctl.adoc

File metadata and controls

35 lines (28 loc) · 980 Bytes

Setting up Clair in a disconnected {ocp} cluster

Use the following procedures to set up an {ocp} provisioned Clair pod in a disconnected {ocp} cluster.

Installing the clairctl command line utility tool for {ocp} deployments

Use the following procedure to install the clairctl CLI tool for {ocp} deployments.

Procedure
  1. 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
    Note

    Unofficially, the clairctl tool can be downloaded

  2. Set the permissions of the clairctl file so that it can be executed and run by the user, for example:

    $ chmod u+x ./clairctl