Skip to content

zarf tools registry pull

zarf tools registry pull

Pull remote images by reference and store their contents locally

zarf tools registry pull IMAGE TARBALL [flags]

Examples

# Pull an image from an internal repo in Zarf to a local tarball
$ zarf tools registry pull 127.0.0.1:31999/stefanprodan/podinfo:6.4.0 image.tar
# Pull an image from a repo hosted at reg.example.com to a local tarball
$ zarf tools registry pull reg.example.com/stefanprodan/podinfo:6.4.0 image.tar

Options

--annotate-ref Preserves image reference used to pull as an annotation when used with --format=oci
-c, --cache_path string Path to cache image layers
--format string Format in which to save images ("tarball", "legacy", or "oci") (default "tarball")
-h, --help help for pull

Options inherited from parent commands

--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

SEE ALSO