You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
In this example my config is actually config.yml so when config.yaml is called in the podman command the file will be "not found" but Clair says I am missing an env var or flag instead.
sudo podman run --rm -it --pod clair --name clair_scanner -e "CLAIR_CONF=/clair/config.yaml" -e "CLAIR_MODE=combo" -v ./clair/:/clair:Z 'quay.io/projectquay/clair:4.4.4'
2022/07/21 17:43:30 must provide a -conf flag or set "CLAIR_CONF" in the environment
The text was updated successfully, but these errors were encountered:
This replaces the custom flag values with just visiting the flags and
processing the string argument at that time.
Closes: quay#1605
Signed-off-by: Hank Donnay <hdonnay@redhat.com>
Description of Problem / Feature Request
In this example my config is actually
config.yml
so whenconfig.yaml
is called in the podman command the file will be "not found" but Clair says I am missing an env var or flag instead.The text was updated successfully, but these errors were encountered: