docker scout policy
Display the policy results of an image (experimental)
This command is experimental
Experimental features are intended for testing and feedback as their functionality or design may change between releases without warning or can be removed entirely in a future release.
docker scout policy [IMAGE | REPO]
docker scout policy command displays the policy results of an image if there are any.
|Name of the environment to compare to.|
|Return exit code '2' if policies are not met.|
|Namespace of the Docker organization|
|Write the report to a file.|
|Platform of image to pull policy results from.|
$ docker scout policy dockerscoutpolicy/customers-api-service:0.0.1
$ docker scout policy dockerscoutpolicy/customers-api-service --env production
Docker Scout secures the complete software supply chain by providing image analysis, real-time vulnerability identification, contextual remediation recommendations, and more. Now available in early access.
Learn more on the Docker Scout product pageopen_in_new.