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

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

"<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.
Red Hat logoGithubredditYoutubeTwitter

学习

尝试、购买和销售

社区

關於紅帽

我们提供强化的解决方案,使企业能够更轻松地跨平台和环境(从核心数据中心到网络边缘)工作。

让开源更具包容性

红帽致力于替换我们的代码、文档和 Web 属性中存在问题的语言。欲了解更多详情,请参阅红帽博客.

关于红帽文档

Legal Notice

Theme

© 2026 Red Hat
返回顶部