mirror of
https://github.com/openshift/openshift-docs.git
synced 2026-02-05 12:46:18 +01:00
27 lines
1.5 KiB
Plaintext
27 lines
1.5 KiB
Plaintext
// Module included in the following assemblies:
|
|
//
|
|
// * microshift/microshift_install_get_ready/microshift-deploy-with-mirror-registry.adoc
|
|
|
|
:_mod-docs-content-type: CONCEPT
|
|
[id="microshift-configuring-mirroring-prereqs_{context}"]
|
|
= Configuring mirroring prerequisites
|
|
|
|
You must create a container image registry credentials file that allows the mirroring of images from your internet-connected mirror host to your air-gapped mirror. Follow the instructions in the "Configuring credentials that allow images to be mirrored" link provided in the "Additional resources" section. These instructions guide you to create a `~/.pull-secret-mirror.json` file on the mirror registry host that includes the user credentials for accessing the mirror.
|
|
|
|
[id="microshift-example-mirror-pull-secret-entry_{context}"]
|
|
== Example mirror registry pull secret entry
|
|
|
|
In this example, the following section is added to the pull secret file for the `microshift_quay:8443` mirror registry by using `microshift:microshift` as username and password.
|
|
|
|
.Example mirror registry section for pull secret file
|
|
[source,terminal]
|
|
----
|
|
"<microshift_quay:8443>": { <1>
|
|
"auth": "<microshift_auth>", <2>
|
|
"email": "<microshift_quay@example.com>" <3>
|
|
},
|
|
----
|
|
<1> Replace the `<registry_host>:<port>` value `microshift_quay:8443` with the hostname and port of your mirror registry server.
|
|
<2> Replace the `_<microshift_auth>_` value with the user password.
|
|
<3> Replace the `_</microshift_quay@example.com>_` value with the user email.
|