快速参考
-
由……维护
Docker 社区 -
何处获取帮助:
Docker 社区 Slack、服务器故障、Unix & Linux 或 Stack Overflow
支持的标签及相应的 Dockerfile 链接
(见常见问题解答中“‘共享’和‘简单’标签之间的区别是什么?”)
简单标签
共享标签
-
latest:
快速参考(续)
-
在哪里提交问题:
https://github.com/docker-library/hello-world/issues -
支持的架构:(更多信息)
amd64,arm32v5,arm32v6,arm32v7,arm64v8,i386,mips64le,ppc64le,riscv64,s390x,windows-amd64 -
已发布的图像工件详细信息:
仓库信息 仓库的repos/hello-world/目录(历史)
(图像元数据、传输大小等) -
图像更新:
官方镜像仓库的library/hello-world标签
官方镜像仓库的library/hello-world文件(历史记录) -
此描述的来源:
文档库的hello-world/目录(历史)
示例输出
$ docker run 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.
(amd64)
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/
$ docker images hello-world
REPOSITORY TAG IMAGE ID SIZE
hello-world latest d2c94e258dcb 13.26kB

这张图像是如何创建的?
此图像是有效使用 scratch 图像的一个主要示例。在 https://github.com/docker-library/hello-world 中查看 hello.c 以获取此图像中包含的 hello 二进制文件的源代码。
因为此镜像仅由一个打印一些文本到标准输出的单一静态二进制文件组成,所以它可以轻而易举地以任何任意用户(例如 docker run --user $RANDOM:$RANDOM hello-world )运行。
许可证
查看此映像中包含的软件的许可证信息。
与所有 Docker 镜像一样,这些镜像可能还包含其他可能受其他许可证约束的软件(例如来自基础发行版的 Bash 等,以及所包含的主要软件的任何直接或间接依赖项)。
一些能够自动检测到的额外许可证信息可能会在 repo-info 存储库的 hello-world/ 目录中找到。
对于任何预构建镜像的使用,镜像用户有责任确保对此镜像的任何使用都符合其中包含的所有软件的任何相关许可证。