Mirroring Images
Each Manifest release ships its container images inside its Zarf packages. manifest-installer images lets you see exactly which images a release carries and copy them into your own registry, for example to scan or approve them before you install.
Mirroring is separate from installing. By default deploy does not pull from your registry; it uses the images inside the packages. A cluster that pulls images from your registry can run your mirrored copies instead; see Run the copies you mirrored.
List the images in a release
# The latest version you downloaded (or imported from a bundle)
manifest-installer images list
# A specific downloaded version
manifest-installer images list --version <x.x.x>
# A release in the registry, without downloading it first
manifest-installer images list --remote --version <x.x.x>
# One package file
manifest-installer images list --package zarf-package-manifest-app-amd64-<x.x.x>.tar.zstThe output is one image reference per line, with duplicates removed. Add --json to see which package carries each image:
manifest-installer images list --jsonThe list covers every image a release can use, including optional components you may not turn on. For a downloaded version, it also includes the vulnerability-data packages from your latest download-data run. --remote covers the release packages only. It reads from the same registry as download, with the same credentials: AWS for Manifest's registry, or your docker login for your own (--registry). --flavor fips selects the FIPS 140 package set.
The list also includes the images the cluster distribution itself runs, such as coredns, local-path-provisioner, metrics-server, and pause. These ship inside the manifest-init package as the distribution's own air-gap image file, not as package images, so --json names them manifest-init (rke2 airgap) and, on the default flavor, also manifest-init (k3s airgap), which the default flavor carries for hosts that already run k3s. images mirror pushes them like any other image.
To read these images with --remote, the installer downloads that part of the manifest-init package: about 1.5 GB for the default flavor, which carries both distributions, and about 1.2 GB for --flavor fips.
Mirror the images to your registry
manifest-installer images mirror --version <x.x.x> --dest-registry registry.example.com/manifestEach image keeps its path and tag; only the registry host changes. <source-host>/<path>:<tag> becomes registry.example.com/manifest/<path>:<tag>.
Before pushing a downloaded version, images mirror checks the packages against the release's signed manifest, just as deploy does, and stops if any package does not match.
--version, --remote, --flavor, and --package select what to mirror, the same as for images list.
When a private CA issued your registry's TLS certificate, pass that CA's certificate file (PEM, DER, or PKCS#7) with --registry-ca, so the host's trust store does not need it; download --registry takes the same flag. It is the file setup takes for setup.registry.ca (see Registries with a private CA). The flag adds the CA only on Linux; on macOS and Windows, the CA must be in the OS trust store.
Run the copies you mirrored
On a cluster that pulls from your registry (setup.registry, see Pull images from your registry), add --zarf-tags. Each image is then also pushed under the tag the cluster asks for, which appends -zarf-<checksum>:
manifest-installer images mirror --version <x.x.x> --zarf-tags \
--dest-registry harbor.example.com/manifestThen answer yes to Images are already in the registry in setup (setup.registry.preloaded: "true"). deploy pushes nothing, so the cluster runs exactly the copies your registry holds, and the account in setup.registry needs pull access only. Mirror each new version with --zarf-tags before you deploy it. Before deploying anything, deploy looks up every image of every package it is about to deploy, under the name the cluster will request and with the account in setup.registry, and refuses to run if any is missing, listing each one.
Copy a release into your registry
To bring a whole release into your registry with one command, add --packages to the mirror above. After the images, images mirror pushes the release's four Zarf packages to <dest-registry>/<package>:<x.x.x> (with -fips after the version for the FIPS package set), where download --registry reads them:
manifest-installer download --version <x.x.x>
manifest-installer images mirror --version <x.x.x> --zarf-tags --packages \
--dest-registry harbor.example.com/manifestAny host that can reach your registry can then download the release from it, with no AWS credentials (see Download the release from your registry):
manifest-installer download --registry harbor.example.com/manifest --version <x.x.x>--packages copies a version you downloaded or imported, after checking it against the release's signed manifest; a package that does not match stops the run before anything is pushed. It cannot be combined with --remote or --package, and it pushes the package set the version was downloaded as, whatever --flavor says. The packages arrive unchanged, so a version downloaded from your registry passes the same check at deploy. Vulnerability-data packages are not pushed, and download still fetches the manifest-installer binary from the public GitHub release unless you pass --skip-installer-binary.
Running the command again is safe. Layers your registry already holds are not uploaded again, but each image and package tag is written again with the same content. The output says, for each package, how many of its images were already in the registry under the names the cluster requests, and which packages it already held unchanged.
Registry credentials
Give the destination registry's credentials in one of these ways. The installer checks them in this order:
-
--dest-usernamewith--dest-password, or with--dest-password-stdinto read the password from standard input:printf '%s' "$REGISTRY_PASSWORD" | manifest-installer images mirror --version <x.x.x> \ --dest-registry registry.example.com/manifest --dest-username robot --dest-password-stdin -
The
MANIFEST_INSTALLER_DEST_USERNAMEandMANIFEST_INSTALLER_DEST_PASSWORDenvironment variables. -
Your Docker credentials. If you have already run
docker login registry.example.com, no flags are needed.
Updated about 1 hour ago
