Skip to content

zarf tools registry export

Export filesystem of a container image as a tarball

zarf tools registry export IMAGE|- TARBALL|- [flags]
# Write tarball to stdout from the internal repo in Zarf
$ zarf tools registry export 127.0.0.1:31999/stefanprodan/podinfo:6.4.0 -
# Write tarball to file from the registry from a repo hosted at ghcr.io
$ zarf tools registry export ghcr.io/stefanprodan/podinfo:6.4.0 podinfo.6.4.0.tar
-h, --help help for export
--allow-nondistributable-artifacts Allow pushing non-distributable (foreign) layers
--insecure Allow image references to be fetched without TLS
--insecure-skip-tls-verify Skip checking server's certificate for validity. This flag should only be used if you have a specific reason and accept the reduced security posture.
--plain-http Force the connections over HTTP instead of HTTPS. This flag should only be used if you have a specific reason and accept the reduced security posture.
--platform string Specifies the platform in the form os/arch[/variant][:osversion] (e.g. linux/amd64). (default "all")
-v, --verbose Enable debug logs