s390x/ubuntu Docker 镜像
这是s390x架构的Ubuntu Docker镜像,基于Canonical官方rootfs构建,是Debian系Linux操作系统,适用于容器、云环境和服务器部署,提供稳定、安全且开源的运行环境。
s390x/ubuntu 镜像文档
概述
什么是Ubuntu?
Ubuntu是基于Debian的Linux操作系统,可运行于桌面、云端及各类物联网设备。它是全球最受欢迎的云操作系统之一,支持Docker、Kubernetes等容器技术,能大规模运行容器。由Canonical主导开发,遵循开源软件原则,鼓励自由使用、学习、改进和分发软件。
https://ubuntu.com
镜像信息
镜像内容
该镜像基于Canonical提供的官方rootfs tarballs构建(详见https://git.launchpad.net/cloud-images/+oci/ubuntu-base的`dist-*`标签)。
s390x/ubuntu:latest标签指向最新LTS版本(推荐用于一般用途)s390x/ubuntu:rolling标签指向最新发行版
支持的标签
| 标签 | 说明 |
|---|---|
22.04, jammy-20251001, jammy | Ubuntu 22.04 LTS (Jammy Jellyfish) |
24.04, noble-20251001, noble, latest | Ubuntu 24.04 LTS (Noble Numbat) |
25.04, plucky-20251001, plucky | Ubuntu 25.04 |
25.10, questing-20251007, rolling | Ubuntu 25.10 |
核心特性
- 官方构建:基于Canonical提供的rootfs tarballs,确保完整性和安全性
- 多版本支持:提供LTS(长期支持)和滚动更新版本
- 容器优化:专为容器环境设计,支持Docker、Kubernetes等容器技术
- 开源可靠:遵循开源软件原则,由Canonical维护,提供稳定的运行环境
使用方法
基本使用
bash# 运行交互式shell docker run -it --rm docker.xuanyuan.run/s390x/ubuntu:latest /bin/bash # 运行命令 docker run --rm docker.xuanyuan.run/s390x/ubuntu:latest echo "Hello from Ubuntu on s390x"
构建自定义镜像
创建Dockerfile:
dockerfileFROM docker.xuanyuan.run/s390x/ubuntu:latest RUN apt-get update && apt-get install -y \ curl \ && rm -rf /var/lib/apt/lists/*
构建并运行:
bashdocker build -t my-s390x-ubuntu . docker run --rm docker.xuanyuan.run/my-s390x-ubuntu curl --version
配置 locales
默认包含C、C.UTF-8和POSIX locales。如需其他locale(如en_US.UTF-8):
dockerfileRUN apt-get update && apt-get install -y locales && rm -rf /var/lib/apt/lists/* \ && localedef -i en_US -c -f UTF-8 -A /usr/share/locale/locale.alias en_US.UTF-8 ENV LANG en_US.utf8
恢复完整系统(Unminimize)
从Ubuntu 24.10开始,unminimize命令需单独安装:
bashdocker run -it --rm docker.xuanyuan.run/s390x/ubuntu:rolling \ bash -c "apt-get update && apt-get install -y unminimize && unminimize"
支持与资源
维护者
由https://launchpad.net/cloud-images维护。
获取帮助
- https://dockr.ly/comm-slack
- Server Fault
- https://unix.stackexchange.com/help/on-topic
- https://stackoverflow.com/help/on-topic
问题反馈
提交issue至https://bugs.launchpad.net/cloud-images(需包含`docker`标签)。
更多信息
- https://ubuntu.com
- https://git.launchpad.net/cloud-images/+oci/ubuntu-base
- https://www.ubuntu.com/about/about-ubuntu/licensing
许可证
本镜像中的软件遵循开源软件原则,详细许可证信息见https://ubuntu.com/licensing。
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).
镜像用户有责任确保其使用符合所有包含软件的相关许可证要求。
s390x 命名空间的其他可用镜像:
s390x/node
s390x/maven
s390x/eclipse-temurin
s390x/buildpack-deps
s390x/mongo
s390x/monica
镜像拉取方式
您可以使用以下命令拉取该镜像。请将 <标签> 替换为具体的标签版本。如需查看所有可用标签版本,请访问 标签列表页面。
DockerHub 原生拉取命令
用户好评
来自真实用户的反馈,见证轩辕镜像的优质服务