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
== Stage 2: Install a Devfile Registry to a cluster
3
3
4
-
The main goal of this stage (on top of the existing devfile registry install mechanism) is to install the images to the image registry.
4
+
In this stage, install the images to the offline image registry.
5
5
6
6
.Prerequisites
7
7
8
-
* Docker 17.05 or higher / Podman 4.0.x or higher
8
+
* Docker 17.05 or higher or Podman 4.0.x or higher
9
9
* OpenShift Container Platform 4.6 or higher
10
10
11
11
=== Install Image into Cluster Image Registry
12
12
13
-
The process of installing the built images into an offline image registry will depend on which image registry has deployed / has access to.
13
+
The process of installing the built images into an offline image registry depends on which image registry has deployed and which image registry you have access to.
14
14
15
15
.Procedure
16
16
17
17
. OpenShift Image Registry
18
18
+
19
-
Retag image using the form `<registry_ip>:<port>/<project>/<image>`. This can be done using `docker tag` or `podman tag`:
19
+
Use the `docker tag` or the `podman tag` to retag the image using the form `<registry_ip>:<port>/<project>/<image>`:
20
20
+
21
21
[source,bash]
22
22
----
23
23
podman tag localhost/devfile-index <registry_ip>:<port>/<project>/devfile-index
24
24
----
25
25
+
26
-
Now you can pushthe retagged image to the OpenShift Image Registry at `<registry_ip>:<port>` by using `docker push` or `podman push`:
26
+
Use the `docker push` or `podman push` to push the retagged image to the OpenShift Image Registry at `<registry_ip>:<port>`:
0 commit comments