You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Use the oc-mirror OpenShift CLI (`oc`) plug-in to mirror images onto a mirror registry. Compared to using `oc adm release mirror`, the oc-mirror plug-in has the following advantages:
10
+
11
+
* It is simpler to use.
12
+
13
+
* It can mirror content other than container images.
14
+
15
+
* After mirroring images for the first time, it is easier to update images in the registry.
16
+
17
+
.Procedure
18
+
19
+
. Navigate to the _Mirroring images for a disconnected installation using the oc-mirror plug-in_ page of the documentation.
20
+
21
+
. Follow the instructions on that page to mirror resources onto a mirror registry.
22
+
23
+
** If you are using oc-mirror for the first time, follow the instructions on that page up until and including the section titled _Installing the ImageContentSourcePolicy and CatalogSource resources into the cluster_.
24
+
25
+
** If you have already used oc-mirror to mirror resources onto a registry, follow the instructions in the section titled _Keeping your mirror registry content updated_.
Before you update a cluster on infrastructure that you provision in a restricted network, you must mirror the required container images into that environment. You can also use this procedure in unrestricted networks to ensure your clusters only use container images that have satisfied your organizational controls on external content.
// this file doesn't exist, so I'm including the one that should pick up more changes from Clayton's PR - modules/installation-adding-mirror-registry-pull-secret.adoc[leveloffset=+1]
You must mirror container images onto a mirror registry before you can update a cluster in a restricted network environment. You can also use this procedure in unrestricted networks to ensure your clusters only use container images that have satisfied your organizational controls on external content.
47
+
48
+
There are two supported methods for mirroring images onto a mirror registry:
49
+
50
+
* Using the oc-mirror OpenShift CLI (`oc`) plug-in
* xref:../installing/disconnected_install/installing-mirroring-disconnected.adoc#installing-mirroring-disconnected[Mirroring images for a disconnected installation using the oc-mirror plug-in]
=== Mirroring the {product-title} image repository
148
+
149
+
You must mirror container images onto a mirror registry before you can update a cluster in a restricted network environment. You can also use this procedure in unrestricted networks to ensure your clusters only use container images that have satisfied your organizational controls on external content.
150
+
151
+
There are two supported methods for mirroring images onto a mirror registry:
152
+
153
+
* Using the oc-mirror OpenShift CLI (`oc`) plug-in
154
+
155
+
* Using the oc adm release mirror command
156
+
157
+
Choose one of the following supported options.
158
+
159
+
//The module below is being used twice in this assembly, so this instance needs to have a unique context set in order for its ID to be unique. In the future, if and when the two main sections of this webpage are split into their own assemblies/pages, the context attributes below can be removed.
* xref:../installing/disconnected_install/installing-mirroring-disconnected.adoc#installing-mirroring-disconnected[Mirroring images for a disconnected installation using the oc-mirror plug-in]
0 commit comments