Files
buildx/docs/reference/buildx_policy_eval.md
T
Tonis Tiigi 64cd4136d9 policy: support reading policy from stdin via --file -
Allow passing policy content through stdin by specifying
"--file -" in the eval command. This enables piping policy
data without requiring a file on disk.

Signed-off-by: Tonis Tiigi <tonistiigi@gmail.com>
2026-03-23 11:13:46 -07:00

20 lines
875 B
Markdown

# docker buildx policy eval
<!---MARKER_GEN_START-->
Evaluate policy for a source
### Options
| Name | Type | Default | Description |
|:----------------|:--------------|:-------------|:-----------------------------------------|
| `--builder` | `string` | | Override the configured builder instance |
| `-D`, `--debug` | `bool` | | Enable debug logging |
| `--fields` | `stringSlice` | | Fields to evaluate |
| `-f`, `--file` | `string` | `Dockerfile` | Policy filename to evaluate |
| `--platform` | `string` | | Target platform for policy evaluation |
| `--print` | `bool` | | Print policy output |
<!---MARKER_GEN_END-->