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:eb5f73aa3934fac4ca28016419da9b419d623976fdd24ebc9e01f3841b36a2d0 Vulnerability Report07-22-2025
3.10.6-bullseye docker pull icr.io/ibmz/python@sha256:ea2e123edcea30fc9f0e8416c59d144c5fefef25cf4f7cd097181da149525191 Vulnerability Report07-22-2025
3.12-bookworm docker pull icr.io/ibmz/python@sha256:e26eb3b0088ee8b7d7c38f39fea21ceaddc22a7f045f4a1fc56780965f723032 Vulnerability Report07-22-2025
3.9.16-bullseye docker pull icr.io/ibmz/python@sha256:d7845ff55a954993580cc34a518c1bcdda9710b261c3d9f9e2507da398805e06 Vulnerability Report07-22-2025
3.10.10-bullseye docker pull icr.io/ibmz/python@sha256:a58b66c7f37a5941e0e29b952ef0228dfef00fe8a93df5338253216f37fb55c6 Vulnerability Report07-22-2025
3.10-alpine3.16 docker pull icr.io/ibmz/python@sha256:876d91170ed2c83e09227f5e2a6151f9365778e7ee243694b8b7210f872bf302 Vulnerability Report07-22-2025
3.13-bookworm docker pull icr.io/ibmz/python@sha256:4ea1035832bae61d026337106144bff7486863feccdecb8c8853397165c67a4d Vulnerability Report07-22-2025
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