Skip to main content

zarf tools registry prune

Prunes images from the registry that are not currently being used by any Zarf packages.

zarf tools registry prune [flags]


      --confirm   Confirm the image prune action to prevent accidental deletions
-h, --help help for prune

Options inherited from parent commands

      --allow-nondistributable-artifacts   Allow pushing non-distributable (foreign) layers
--insecure Allow image references to be fetched without TLS
--platform string Specifies the platform in the form os/arch[/variant][:osversion] (e.g. linux/amd64). (default "all")
-v, --verbose Enable debug logs