-
Bug
-
Resolution: Done
-
Major
-
None
-
None
-
False
-
False
-
Quay Enterprise
-
Undefined
-
6.6. Configuring Clair for Disconnected Environments
Documentation reads in step 2:
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
But this will create this error output:
Incorrect Usage: flag provided but not defined: -config
NAME:
clairctl export-updaters - run updaters and export results
USAGE:
clairctl export-updaters [command options] [out]
DESCRIPTION:
Run configured exporters and export to a file.
A configuration file is needed to run this command, see 'clairctl help'
for how to specify one.
OPTIONS:
--strict Return non-zero exit when updaters report errors. (default: false)
--help, -h show help (default: false)
flag provided but not defined: -config
It should be like this:
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 --config /cfg/config.yaml export-updaters /updaters/updaters.gz
Same for the second cmd line!
- is related to
-
PROJQUAY-1744 Clairctl export-updaters command wrong in documentation
- Closed