Share feedback
Answers are generated based on the documentation.

docker buildx policy test

DescriptionRun policy tests
Usagedocker buildx policy test <path>

Description

Run policy tests

Options

OptionDefaultDescription
--filenameDockerfileName of the Dockerfile to validate
--runRun only tests with name containing this substring