-
Bug
-
Resolution: Done
-
Minor
-
None
-
None
-
False
-
False
-
Undefined
-
Section 6.6, point number 2:
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!
- relates to
-
PROJQUAY-1738 wrong order of options on cmd line for disconnected clair
- Closed