sincecutoff.com
← all changes

buildx policy eval accepts --platform

Introduced 2026-03-31 · score 0.93

HOW TO USE IT

When evaluating an image source for a specific target platform, run `docker buildx policy eval --platform <os/arch> docker-image://<image>`.

docker buildx policy eval --platform <os/arch> docker-image://<image>

WHY THIS HELPS

Evaluate a policy for image sources targeting a specific platform.

REQUIREMENTS AND LIMITATIONS

  • Version: v0.33.0
  • source (required): Source to evaluate; the policy usage docs identify `docker-image://` as the image-source prefix.
  • --platform: Target platform for policy evaluation.

FIRST-PARTY EVIDENCE

Check the installed version and the source before using it. Entry JSON

Report a problem with this card