Skip to content

Commit 5af4302

Browse files
authored
Merge pull request #53749 from bergerhoffer/OSDOCS-4298-update
Updating to make saving the catalog to disk optional
2 parents 1af4143 + 424e970 commit 5af4302

File tree

1 file changed

+6
-4
lines changed

1 file changed

+6
-4
lines changed

modules/oc-mirror-oci-format.adoc

Lines changed: 6 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -4,7 +4,7 @@
44

55
:_content-type: PROCEDURE
66
[id="oc-mirror-oci-format_{context}"]
7-
= Mirroring Operator images in OCI format
7+
= Mirroring file-based catalog Operator images in OCI format
88

99
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.
1010

@@ -19,7 +19,9 @@ include::snippets/technology-preview.adoc[]
1919
2020
.Procedure
2121

22-
. 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:
2325
+
2426
.Example image set configuration file for copying to disk
2527
[source,yaml]
@@ -40,7 +42,7 @@ When using the OCI feature, only the `mirror.operators.catalog` setting is avail
4042
The `storageConfig` setting is ignored in favor of the location passed in to the `oc mirror` command.
4143
====
4244

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:
4446
+
4547
[source,terminal]
4648
----
@@ -75,7 +77,7 @@ You can optionally use the `--oci-registries-config` flag to specify the path to
7577
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.
7678
====
7779

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:
7981
+
8082
[source,terminal]
8183
----

0 commit comments

Comments
 (0)