// Module included in the following assemblies:
//
// * openshift_images/using_images/using-images-source-to-image.adoc
// * Unused. Can be removed by 4.9 if still unused. Request full peer review for the module if it’s used.

[id="images-using-images-s2i-python-pulling-images_{context}"]
= Pulling images for Python

//These images come in two options:

//* RHEL 8
//* CentOS 7

//*RHEL 8 Based Images*

The RHEL 8 images are available through the Red Hat Registry.

.Procedure

* To pull the RHEL 7 image, enter the following command for the version of Python you want:
+
.Python `2.7`
[source,terminal]
----
$ podman pull egistry.redhat.io/rhscl/python-27-rhel7:latest
----
+
.Python `3.6`
[source,terminal]
----
$ podman pull  registry.redhat.io/ubi9/python-39:latest
----
+
.Python `3.8`
[source,terminal]
----
$ podman pull registry.redhat.io/rhscl/python-38-rhel7:latest
----

////
*CentOS 7 Based Images*

These images are available on link:quay.io[Quay.io].

.Procedure

* To pull the CentOS 7 image, enter the following command for the version of Python you want:
+
.Python `2.7`
[source,terminal]
----
$ podman pull centos/python-27-centos7
----
+
.Python `3.3`
[source,terminal]
----
$ podman pull openshift/python-33-centos7
----
+
.Python `3.4`
[source,terminal]
----
$ podman pull centos/python-34-centos7
----
+
.Python `3.5`
[source,terminal]
----
$ podman pull centos/python-35-centos7
----
////

To use these images, you can either access them directly from registry.redhat.io, or push them into your {product-registry}. Additionally, you can create an image stream that points to the image, either in your container image registry or at the external location. Your {product-title} resources can then reference the
image stream.
