Uploaded image for project: 'Project Quay'
  1. Project Quay
  2. PROJQUAY-1744

Clairctl export-updaters command wrong in documentation

    XMLWordPrintable

Details

    • False
    • False
    • Undefined
    • 0

    Description

      Section 6.6, point number 2:

      https://access.redhat.com/documentation/en-us/red_hat_quay/3/html/manage_red_hat_quay/clair-v4#configuring_clair_for_disconnected_environments

      The command used is:

      $ podman run -it --rm -v /etc/clairv4/config:/cfg:Z -v $(pwd):/updaters:Z --entrypoint /bin/clairctl registry.redhat.io/quay/clair-rhel8:v3.4.2 export-updaters --config /cfg/config.yaml /updaters/updaters.gz
      

      However, the '--config' flag should come before the command. This is the correct format:

      podman run -it --rm -v /path/to/clair/config:/cfg:Z -v /path/to/output/directory:/updaters:Z --entrypoint /bin/clairctl registry.redhat.io/quay/clair-rhel8:v3.4.2 --config /cfg/config.yaml export-updaters /updaters/updaters.gz  
      

      Please check, thanks!

      Attachments

        Issue Links

          Activity

            People

              rhn-support-stevsmit Steven Smith
              rhn-support-ibazulic Ivan Bazulic
              Votes:
              0 Vote for this issue
              Watchers:
              3 Start watching this issue

              Dates

                Created:
                Updated:
                Resolved: