这是一个基于Ubuntu系统精雕细琢而成的运行基石,集成了Python运行时环境,通过精简优化的系统底层确保了高效稳定的性能,为Python应用程序提供了可靠的运行载体,无论是开发调试、测试验证还是生产部署场景,都能满足轻量、安全且高效的运行需求,是构建Python应用生态的理想基础组件。

34 次收藏下载次数: 0状态:社区镜像维护者:Ubuntu 官方镜像仓库类型:镜像最近更新:
下载命令
点击查看

ubuntu/python is a rock for Python maintained by https://canonical.com/.

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 https://www.python.org/.

\https://www.python.org/\]

Tags and Architectures

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

TagsSupported untilVersionBaseArchitectures
3.14-26.04_stable
aliases3.14-26.04, 3.14-26.04_beta, 3.14-26.04_candidate, 3.14-26.04_edge
05/20313.1426.04amd64, s390x, arm64, ppc64le
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.04amd64, s390x, ppc64le, arm64
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.04s390x, arm64, amd64, ppc64le
View deprecated tags
TagsSupport ended onUpgrade Path
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/2026 -
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.

\https://documentation.ubuntu.com/pebble/\]

Inspect

To view the https://documentation.ubuntu.com/rockcraft/en/latest/reference/rockcraft-yaml/#services and https://documentation.ubuntu.com/rockcraft/latest/reference/rockcraft-yaml/#checks defined in this rock:

sh
docker run --rm ubuntu/python:3.13-25.10_stable plan

Run

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

sh
docker run --name python-container \
    ubuntu/python:3.13-25.10_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:

sh
docker exec python-container pebble logs

Or, for a specific service:

sh
docker exec python-container pebble logs <service>

Monitor health checks

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

sh
docker exec python-container pebble checks

The overall health of your container can be inspected via:

sh
docker exec python-container pebble health

\https://github.com/canonical/python-rock/issues\] \https://github.com/canonical/python-rock\]

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 https://canonical.com/legal/intellectual-property-policy.

镜像拉取方式

您可以使用以下命令拉取该镜像。请将 <标签> 替换为具体的标签版本。如需查看所有可用标签版本,请访问 标签列表页面。

轩辕镜像加速拉取命令点我查看更多 python 镜像标签

docker pull docker.xuanyuan.run/ubuntu/python:<标签>

DockerHub 原生拉取命令

docker pull ubuntu/python:<标签>
专业版 · 高速稳定拉取镜像
50GB 仅 ¥8/年
高速镜像下载在线技术支持专业版保障服务可用付费会员免广告