hello-world

ppc64le/hello-world Docker Image

ppc64le

这是一个最小化Docker化的示例镜像,用于展示基础Docker应用的构建方法。

2 次收藏下载次数: 0状态:社区镜像维护者:ppc64le仓库类型:镜像最近更新:

ppc64le/hello-world 镜像文档

镜像概述和主要用途

ppc64le/hello-world 是 https://hub.docker.com/_/hello-world 的 ppc64le 架构专用版本,属于“每个架构”仓库。该镜像旨在提供最小化的 Docker 化示例,主要用途是验证 Docker 环境安装是否正常工作,通过输出特定信息确认 Docker 客户端、守护进程及镜像拉取、容器运行等流程的正确性。

核心功能和特性

  • 最小化设计:仅包含一个静态二进制可执行文件,无额外依赖,体现 Docker 容器化的精简特性。
  • 轻量级:镜像体积极小(约 10kB),拉取和运行速度快。
  • 架构支持:专为 ppc64le 架构优化,可在该架构的 Docker 环境中运行。
  • 验证功能:运行后输出详细信息,清晰展示 Docker 工作流程(客户端-守护进程通信、镜像拉取、容器创建、输出流传输)。

使用场景和适用范围

  • Docker 安装验证:快速检验 Docker 引擎是否正确安装并可正常运行。
  • Docker 入门学习:作为最基础的示例,帮助新手理解镜像拉取、容器运行等核心概念。
  • 多架构环境测试:在 ppc64le 架构的服务器或设备上,验证跨架构 Docker 环境的兼容性。

支持的标签及对应 Dockerfile 链接

Simple Tags

  • https://github.com/docker-library/hello-world/blob/6930d60e10e81283a57be3ee3a2b5ca328a40304/ppc64le/hello-world/Dockerfile

Shared Tags

  • latest: 对应 https://github.com/docker-library/hello-world/blob/6930d60e10e81283a57be3ee3a2b5ca328a40304/ppc64le/hello-world/Dockerfile

使用方法和配置说明

该镜像无需复杂配置,通过 docker run 命令即可直接运行,输出验证信息。

基本运行命令

console
docker run docker.xuanyuan.run/ppc64le/hello-world

输出解释

运行上述命令后,镜像会输出以下信息(示例见下节),内容包括:

  1. 确认 Docker 安装正常工作的提示;
  2. Docker 运行该镜像的完整流程(客户端-守护进程通信、镜像拉取、容器创建、输出传输);
  3. 进一步操作建议(如运行 Ubuntu 容器、注册 Docker ID 等)。

示例输出

运行镜像并查看输出

console
$ docker run ppc64le/hello-world

Hello from Docker!
This message shows that your installation appears to be working correctly.

To generate this message, Docker took the following steps:
 1. The Docker client contacted the Docker daemon.
 2. The Docker daemon pulled the "hello-world" image from the Docker Hub.
    (ppc64le)
 3. The Docker daemon created a new container from that image which runs the
    executable that produces the output you are currently reading.
 4. The Docker daemon streamed that output to the Docker client, which sent it
    to your terminal.

To try something more ambitious, you can run an Ubuntu container with:
 $ docker run -it ubuntu bash

Share images, automate workflows, and more with a free Docker ID:
 https://hub.docker.com/

For more examples and ideas, visit:
 https://docs.docker.com/get-started/

查看镜像信息

console
$ docker images ppc64le/hello-world
REPOSITORY    TAG       IMAGE ID       SIZE
hello-world   latest    1b44b5a3e06a   10.07kB

镜像创建说明

该镜像基于 https://hub.docker.com/_/scratch/ 空镜像构建,仅包含一个通过 https://github.com/docker-library/hello-world/blob/master/hello.c 源码编译生成的静态二进制文件。由于其极简特性,可作为任意 Unix 用户(如 docker run --user $RANDOM:$RANDOM ppc64le/hello-world)运行,无需特定权限配置。

许可证信息

镜像中软件的许可证信息请参见 https://github.com/docker-library/hello-world/blob/master/LICENSE 文件。与所有 Docker 镜像一样,该镜像可能包含其他软件(如基础发行版组件、间接依赖等),这些软件可能具有独立许可证。用户需自行确保对镜像的使用符合所有包含软件的相关许可证要求。

更多自动检测的许可证信息可参考 https://github.com/docker-library/repo-info/tree/master/repos/hello-world。

快速参考

  • 维护者:https://github.com/docker-library/hello-world
  • 获取帮助:https://dockr.ly/comm-slack、Server Fault、https://unix.stackexchange.com/help/on-topic 或 https://stackoverflow.com/help/on-topic
  • 提交问题:https://github.com/docker-library/hello-world/issues?q=
  • 支持的架构(更多信息):amd64、arm32v5、arm32v6、arm32v7、arm64v8、i386、mips64le、ppc64le、riscv64、s390x、windows-amd64
  • 镜像详情(元数据、传输大小等):https://github.com/docker-library/repo-info/blob/master/repos/hello-world(https://github.com/docker-library/repo-info/commits/master/repos/hello-world)
  • 镜像更新:https://github.com/docker-library/official-images/issues?q=label%3Alibrary%2Fhello-world、https://github.com/docker-library/official-images/blob/master/library/hello-world(https://github.com/docker-library/official-images/commits/master/library/hello-world)
  • 本文档来源:https://github.com/docker-library/docs/tree/master/hello-world(https://github.com/docker-library/docs/commits/master/hello-world)

镜像拉取方式

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

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

docker pull docker.xuanyuan.run/ppc64le/hello-world:<标签>

DockerHub 原生拉取命令

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