Preparing a Harbor container registry for offline deployments
Prepare an offline Harbor image manifest with platform variants, digest evidence and provenance checks for an application and its startup dependencies.
Compare two platform-specific child manifests from the OCI example index and record whether each arrived intact.
Last updated
In short
- Record image index and child manifest digests.
- Inventory init jobs and runtime helpers.
- Prove a cold pull on each supported platform.
Architectures · See also Harbor
Start with the deployment as it will actually run
Render the release configuration for the destination site, including enabled features and overrides. List every image referenced by applications, init containers, sidecars, hooks and scheduled maintenance jobs. Then review components that choose an image dynamically, such as build runners. A deployment can start successfully and still fail on its first upgrade if an upgrade hook references a public tag.
Resolve tags at intake and record the immutable digest, origin registry, release evidence, supported platforms and intended Harbor repository. The OCI image index links to descriptors for specific operating systems and architectures. Preserve the index and the required child manifests and blobs, or explicitly document a platform-specific import and the corresponding pinned reference. OCI image index
| Example image role | Manifest entry to collect | Import reconciliation |
|---|---|---|
| Web application release | Origin repository, release tag, index digest and linux/amd64 and linux/arm64 child digests. Associate the publisher verification record with this release. | Inspect the target reference and compare index and child digests against intake. Cold-pull the selected child on each node architecture and record the resolved identity. |
| Database preparation job | Record its own repository and immutable digest even when it shares the main application’s release number. | Run a disposable initialization against an empty test database and confirm the job pulls only from the local registry. |
| Maintenance helper | List the backup or upgrade helper selected by configuration. Record its architecture, bundle media identifier and approving owner. | Invoke its harmless version or discovery operation with the public registry unavailable. Verify local pull credentials work under its actual service account. |
Keep provenance attached to the specific bytes
For each image carry the publisher’s available signature or attestation, verification method, trusted key source and decision for unsigned dependencies. Record the full cryptographic values from the actual artifacts in the editable manifest. A made-up digest can look valid enough to get pasted into a deployment. If a transfer tool changes media types or rewrites a manifest, investigate the new digest and document the verified transformation before relying on it.
Export the complete approved set into the boundary’s transfer format. On import, reconcile the manifest before promoting the repositories used by workloads. An installation of Harbor itself needs its own bootstrap materials, certificates, storage, configuration and recovery access. Check those against the chosen Harbor release’s installation instructions. Harbor installation
Pull from an empty local cache using the site’s ordinary workload identity. Look for fallback attempts and denied pulls, then exercise the least frequently used hook. Keep the previous release available until the application’s rollback window closes. Configure retention around referenced digests so routine registry maintenance cannot remove a release still needed by a disconnected site’s recovery plan.
For a mixed-fleet example, suppose the intake index lists two platform manifests but the first transfer contains only the amd64 blobs. The index entry for arm64 may still be readable. Mark the import incomplete until an empty arm64 node retrieves and runs its selected child. Keep a separate line for the missing child so an operator can see which dependency to send on the next transfer.
The download uses the published OCI example index to show reconciliation at child-manifest level. In the example transfer the amd64 digest matches while the ppc64le child is missing. Those example descriptors identify specification fixtures. Replace them with your release’s actual descriptors and attach the verification record before intake.
