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.13-bookworm docker pull icr.io/ibmz/python@sha256:cf7b2745598f8970379fcd2096e0720117348055eaff89a0665719cc1358bf3e Vulnerability Report01-02-2025
3.9.16-bullseye docker pull icr.io/ibmz/python@sha256:ca3e59d4f9914b27503143b14ee0eb6d77f2f8fe6b96d79ff7ce5c39a7233588 Vulnerability Report01-02-2025
3.10.10-bullseye docker pull icr.io/ibmz/python@sha256:7f894b905f5c6a85853cdfb7a819febda54b09d49cff68c706a128a717c9f837 Vulnerability Report01-02-2025
3.12-bookworm docker pull icr.io/ibmz/python@sha256:6e096b6ae153a506dd607ce5b799efbcc7204f218097baec1a115176b4417189 Vulnerability Report01-02-2025
3.10-alpine3.16 docker pull icr.io/ibmz/python@sha256:57332d3271eea18110ccb365b00512b5d45b82105a3460e95aaef44f14c86967 Vulnerability Report01-02-2025
3.10.6-bullseye docker pull icr.io/ibmz/python@sha256:43eeb40b2d0405a7230215699ed772daa1b74147ea3a05358d5741c5843a947c Vulnerability Report01-02-2025
3.9.13-bullseye docker pull icr.io/ibmz/python@sha256:114ee9e04f1d0a3ce923bf12b695889be54ac90fef0c26c35cd5e385fcc7c32c Vulnerability Report01-02-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