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
Copy file name to clipboardExpand all lines: modules/oc-mirror-oci-format.adoc
+6-4Lines changed: 6 additions & 4 deletions
Display the source diff
Display the rich diff
Original file line number
Diff line number
Diff line change
@@ -4,7 +4,7 @@
4
4
5
5
:_content-type: PROCEDURE
6
6
[id="oc-mirror-oci-format_{context}"]
7
-
= Mirroring Operator images in OCI format
7
+
= Mirroring file-based catalog Operator images in OCI format
8
8
9
9
You can use the oc-mirror plug-in to mirror Operators in the Open Container Initiative (OCI) image format, instead of Docker v2 format. You can copy Operator images to a file-based catalog on disk in OCI format. Then you can copy local OCI images to your target mirror registry.
. Create the image set configuration file to retrieve the catalogs and images that you require.
22
+
. Optional: Retrieve the catalogs and images that you require and save them to disk. If you already have the catalog image in OCI format on disk, you can skip this step.
23
+
24
+
.. Create the image set configuration file:
23
25
+
24
26
.Example image set configuration file for copying to disk
25
27
[source,yaml]
@@ -40,7 +42,7 @@ When using the OCI feature, only the `mirror.operators.catalog` setting is avail
40
42
The `storageConfig` setting is ignored in favor of the location passed in to the `oc mirror` command.
41
43
====
42
44
43
-
. Run the `oc mirror` command to mirror the images from the specified image set configuration to disk:
45
+
.. Run the `oc mirror` command to mirror the images from the specified image set configuration to disk:
44
46
+
45
47
[source,terminal]
46
48
----
@@ -75,7 +77,7 @@ You can optionally use the `--oci-registries-config` flag to specify the path to
75
77
Set the `location` field in the `registry.mirror` section to an alternative registry location that you want to pull images from. The `location` field in the `registry` section must be the same registry location as the one you specify in the image set configuration file.
76
78
====
77
79
78
-
. List your directory contents and verify that the following directories were created:
80
+
.. List your directory contents and verify that the following directories were created:
0 commit comments