Installing the oc-compliance plugin
You can install the oc-compliance plugin to simplify compliance operations from the command line.
Procedure
-
Extract the
oc-complianceimage to get theoc-compliancebinary:$ podman run --rm -v ~/.local/bin:/mnt/out:Z registry.redhat.io/compliance/oc-compliance-rhel8:stable /bin/cp /usr/bin/oc-compliance /mnt/out/Example outputW0611 20:35:46.486903 11354 manifest.go:440] Chose linux/amd64 manifest from the manifest list.You can now run
oc-compliance.