1
0
mirror of https://github.com/openshift/openshift-docs.git synced 2026-02-05 12:46:18 +01:00
Files
openshift-docs/modules/psap-driver-toolkit-pulling.adoc
2023-10-30 10:13:25 -04:00

57 lines
2.4 KiB
Plaintext

// Module included in the following assemblies:
//
// * hardware_enablement/psap-driver-toolkit.adoc
:_mod-docs-content-type: PROCEDURE
[id="pulling-the-driver-toolkit_{context}"]
= Pulling the Driver Toolkit container image
The `driver-toolkit` image is available from the link:https://registry.redhat.io/[Container images section of the Red Hat Ecosystem Catalog] and in the {product-title} release payload. The image corresponding to the most recent minor release of {product-title} will be tagged with the version number in the catalog. The image URL for a specific release can be found using the `oc adm` CLI command.
[id="pulling-the-driver-toolkit-from-registry"]
== Pulling the Driver Toolkit container image from registry.redhat.io
Instructions for pulling the `driver-toolkit` image from `registry.redhat.io` with `podman` or in {product-title} can be found on the link:https://catalog.redhat.com/software/containers/openshift4/driver-toolkit-rhel8/604009d6122bd89307e00865?container-tabs=gti[Red Hat Ecosystem Catalog].
The driver-toolkit image for the latest minor release are tagged with the minor release version on `registry.redhat.io`, for example: `registry.redhat.io/openshift4/driver-toolkit-rhel8:v{product-version}`.
[id="pulling-the-driver-toolkit-from-payload"]
== Finding the Driver Toolkit image URL in the payload
.Prerequisites
* You obtained the image {cluster-manager-url-pull}.
* You installed the OpenShift CLI (`oc`).
.Procedure
. Use the `oc adm` command to extract the image URL of the `driver-toolkit` corresponding to a certain release:
+
--
* For an x86 image, the command is as follows:
+
[source,terminal,subs="attributes+"]
----
$ oc adm release info quay.io/openshift-release-dev/ocp-release:{product-version}.z-x86_64 --image-for=driver-toolkit
----
* For an ARM image, the command is as follows:
+
[source,terminal,subs="attributes+"]
----
$ oc adm release info quay.io/openshift-release-dev/ocp-release:{product-version}.z-aarch64 --image-for=driver-toolkit
----
--
+
.Example output
[source,terminal]
----
quay.io/openshift-release-dev/ocp-v4.0-art-dev@sha256:b53883ca2bac5925857148c4a1abc300ced96c222498e3bc134fe7ce3a1dd404
----
. Obtain this image using a valid pull secret, such as the pull secret required to install {product-title}:
+
[source,terminal]
----
$ podman pull --authfile=path/to/pullsecret.json quay.io/openshift-release-dev/ocp-v4.0-art-dev@sha256:<SHA>
----