Thanks to visit codestin.com
Credit goes to hub.docker.com

ubuntu/python

Verified Publisher

By Canonical

Updated 4 days ago

A chiselled Ubuntu rock with the Python runtime

Image
Languages & frameworks
33

100K+

ubuntu/python repository overview

ubuntu/python is a rock for Python maintained by Canonical.

Python is a high-level, general-purpose programming language. Its design philosophy emphasizes code readability with the use of significant indentation. Python is dynamically typed and garbage-collected. It supports multiple programming paradigms, including structured, object-oriented, and functional programming. Read more on python.org.

[Learn more about Python]

Tags and Architectures

NOTE: These tags follow a specific naming convention that respects the concept of channels.

TagsSupported untilVersionBaseArchitectures
3.13-25.10_stable
aliases3.13-25.10, 3.13-25.10_beta, 3.13-25.10_candidate, 3.13-25.10_edge
07/20263.1325.10amd64, arm64
3.12-24.04_stable
aliases3.12-24.04, 3.12-24.04_beta, 3.12-24.04_candidate, 3.12-24.04_edge
05/20293.1224.04arm64, amd64
3.10-22.04_stable
aliases3.10-22.04, 3.10-22.04_beta, 3.10-22.04_candidate, 3.10-22.04_edge
06/20273.1022.04arm64, amd64
3.14-26.04_edge
aliases3.14-26.04_edge
05/20263.1426.04amd64, arm64
View deprecated tags
TagsSupport ended onUpgrade Path
3.13-25.04_stable
aliases3.13-25.04, 3.13-25.04_beta, 3.13-25.04_candidate, 3.13-25.04_edge
01/2026 -
3.8-20.04_stable
aliases3.8-20.04, 3.8-20.04_beta, 3.8-20.04_candidate, 3.8-20.04_edge
05/2025 -

Get started

This rock's entrypoint is Pebble, a container-optimized init process that enables the orchestration of a collection of local service processes as an organized set.

[Learn more about Pebble]

Inspect

To view the Pebble services and checks defined in this rock:

docker run --rm ubuntu/python:3.13-25.04_stable plan
Run

To run this rock, use any of the usual container runtimes, for example, docker:

docker run --name python-container \
    ubuntu/python:3.13-25.04_stable \
    exec python3 -c 'print("Hello World!")'

The container prints "Hello World!" through the standard output.

Get logs

To view the logs of the running container, run:

docker exec python-container pebble logs

Or, for a specific service:

docker exec python-container pebble logs <service>
Monitor health checks

Rocks may have predefined health checks that you can list by running:

docker exec python-container pebble checks

The overall health of your container can be inspected via:

docker exec python-container pebble health

[Report a bug] [Contribute]

Canonical is the provider of this container image. It is the user's responsibility to ensure that any use of this image complies with any relevant licenses for all software contained within, as well as with Canonical’s IP Policy.

Tag summary

Content type

Image

Digest

sha256:6b77012c5

Size

21.5 MB

Last updated

4 days ago

docker pull ubuntu/python:3.14-26.04_edge

This week's pulls

Pulls:

4,186

Last week