Return to Image List

python

python

Python is an interpreted, interactive, object-oriented, open-source programming language. It incorporates modules, exceptions, dynamic typing, very high level dynamic data types, and classes. Python combines remarkable power with very clear syntax. It has interfaces to many system calls and libraries, as well as to various window systems, and is extensible in C or C++. It is also usable as an extension language for applications that need a programmable interface. Finally, Python is portable: it runs on many Unix variants, on the Mac, and on Windows 2000 and later.

See python.org for more information

This image is built by IBM to run on the IBM Z architecture and is not affiliated with any other community that provides a version of this image.


License

View license information here

As with all Docker images, these likely also contain other software which may be under other licenses (such as Bash, etc from the base distribution, along with any direct or indirect dependencies of the primary software being contained).

As for any pre-built image usage, it is the image user's responsibility to ensure that any use of this image complies with any relevant licenses for all software contained within.


Versions

Use the pull string below for the version of this image you require.
3.9.13-bullseye docker pull icr.io/ibmz/python@sha256:b81d71a8814bb84d4aba2f103e1d1ec140b818c8d86d5275700f35fa346fd844 Vulnerability Report04-30-2024
3.9.16-bullseye docker pull icr.io/ibmz/python@sha256:696b4aecdc507a056b558bfe66b2869567f61c674424ca1b0ee06c9c372fa474 Vulnerability Report04-30-2024
3.12-bookworm docker pull icr.io/ibmz/python@sha256:523e6148e2bf32b0cfec11600cb1d2106111f0e436e7ecb3abaaee10da09691a Vulnerability Report04-30-2024
3.10.10-bullseye docker pull icr.io/ibmz/python@sha256:4872f66c60f2a2855f915a718f481c08e0e8cb8393ca73c296f94effd0543088 Vulnerability Report04-30-2024
3.10.6-bullseye docker pull icr.io/ibmz/python@sha256:3c0c99790a5adb762b38d909b4d60b35e07958879cd7898848f11ccf100293b2 Vulnerability Report04-30-2024
3.10-alpine3.16 docker pull icr.io/ibmz/python@sha256:12e92de100eb8b189a7c83ad59af43d25731cc96157b9beb0a4f9689d5d3243c Vulnerability Report04-30-2024
Version Pull String Security (IBM Cloud) Created

Usage Notes

Create a Dockerfile in your Python app project:

FROM icr.io/ibmz/python:[version]

WORKDIR /usr/src/app
COPY requirements.txt ./
RUN pip install --no-cache-dir -r requirements.txt
COPY . .
CMD [ "python", "./your-daemon-or-script.py" ]

You can then build and run the Docker image:

docker build -t my-python-app .

docker run -it --rm --name my-running-app my-python-app