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.12-bookworm docker pull icr.io/ibmz/python@sha256:df1081f76631edbbdf807c2ba35cc09a3640435eab793ae65d645308797f1ae5 Vulnerability Report10-04-2024
3.9.13-bullseye docker pull icr.io/ibmz/python@sha256:8ba1b87fd08eebaa6efe2d065927aad8405f225f5d7aa8f1bf2d0a864e874cbf Vulnerability Report10-04-2024
3.10.6-bullseye docker pull icr.io/ibmz/python@sha256:7fa692c6da23dc52e438424cf6010ac388f0799b9d5287fc3276293274c12a4c Vulnerability Report10-04-2024
3.10.10-bullseye docker pull icr.io/ibmz/python@sha256:6c2f7e424c4469b8a167d8dc98843b3ea55e2328d47ca3aa33423106d2f2c345 Vulnerability Report10-04-2024
3.10-alpine3.16 docker pull icr.io/ibmz/python@sha256:6476df9b49895e091d2be6d6492eb6c2f1dc4177bd21e51a07c128dbc142dde3 Vulnerability Report10-04-2024
3.9.16-bullseye docker pull icr.io/ibmz/python@sha256:06763f9421eabc42412eb0d48d51862e2d6fca13259c2b1a4a86164959df433a Vulnerability Report10-04-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