Chainguard VMs Overview
Chainguard VMs are designed for minimalism, security, and operational clarity.
For the complete documentation index, see llms.txt.
Policies enable you to filter and restrict Chainguard artifact updates. You do this by defining policies that control and restrict versions that will be pulled from Chainguard.
Note: Policies is in beta. Contact your Chainguard account team to enable it for your organization.
This is how policies uses the following terms.
ENFORCE — Block the pull.DRY_RUN — Allow the pull but record the violation.The default mode for new bindings is DRY_RUN.
Policies are managed using chainctl. System policies are shipped with the platform.
See which policies are available to your organization:
chainctl policies list --parent=$ORGANIZATIONInspect a policy to see its full definition and configurable parameters before enabling it:
chainctl policies describe --policy=$POLICY --parent=$ORGANIZATIONSee which policies are currently active:
chainctl policies binding list --parent=$ORGANIZATIONActivate a policy in DRY_RUN mode. This example activates the “no end-of-life” artifacts policy. Chainguard recommends that you roll out policies using DRY_RUN mode first and track for a time to be certain it has the impact you intend before moving to ENFORCE.
chainctl policies enable --policy=no-eol --mode=DRY_RUN --parent=$ORGANIZATIONSome policies accept parameters. Use --param=KEY=VALUE to supply them:
chainctl policies enable --policy=cooldown --mode=DRY_RUN --param=days=7 --parent=$ORGANIZATIONPromote a policy to ENFORCE:
chainctl policies enable --policy=no-eol --mode=ENFORCE --parent=$ORGANIZATIONCheck the results of specific policies on an image, including DRY_RUN policies which wouldn’t cause the registry to block a pull:
chainctl policies check cgr.dev/$ORGANIZATION/bash:latest POLICY | MODE | RESULT
----------|---------|---------
cooldown | DRY_RUN | DENIED
no-eol | DRY_RUN | ALLOWEDDisable a policy:
chainctl policies disable --policy=no-eol --parent=$ORGANIZATIONSee chainctl policies --help or the chainctl reference pages for more information.
Last updated: 2026-05-21 08:48