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.10.10-bullseye docker pull icr.io/ibmz/python@sha256:c66874077f6273012884e4b60e474261814af5b33705012c5b12e06d7c4e7614 Vulnerability Report10-29-2024
3.9.13-bullseye docker pull icr.io/ibmz/python@sha256:adc3b9749557670f15b0ba09acdb59e18a70c0b9208310cdba8f49f551aa9f93 Vulnerability Report10-29-2024
3.9.16-bullseye docker pull icr.io/ibmz/python@sha256:932aac2660ff00f8acd2908750ec23265628be851186c2f2059614e675379612 Vulnerability Report10-29-2024
3.13-bookworm docker pull icr.io/ibmz/python@sha256:8764d0301a4de5c51327fcef04e3850609c1791aa201ef46e1c7a3a9a76bf14f Vulnerability Report11-13-2024
3.10-alpine3.16 docker pull icr.io/ibmz/python@sha256:76ab91e6b16f8dce7b78fc27249d28a80bbb34c2beaa86a2fcdf7d02fb96ccaf Vulnerability Report10-29-2024
3.12-bookworm docker pull icr.io/ibmz/python@sha256:7182945ca0e2de460bd00a568bdc0fe1d2373c4d46c5ed650b4ce96d97077095 Vulnerability Report10-29-2024
3.10.6-bullseye docker pull icr.io/ibmz/python@sha256:4a45e6621fdf2020432eabbb39b3688341c14467bf3545e850943cf809efbf2d Vulnerability Report10-29-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