docker.io/library/hello-world:latest linux/amd64

docker.io/library/hello-world:latest - 国内下载镜像源 浏览次数:24 安全受验证的发布者-Docker

温馨提示:此镜像为latest tag镜像,本站无法保证此版本为最新镜像

Docker 镜像: hello-world

这是一个简单的 Docker 镜像,用于测试 Docker 环境是否正常工作。它包含一个简单的程序,会在容器启动时输出“Hello from Docker!”。

这个镜像主要用于以下目的:

  • 验证 Docker 是否安装正确
  • 演示 Docker 容器的基本使用
  • 作为学习 Docker 的入门示例
源镜像 docker.io/library/hello-world:latest
国内镜像 swr.cn-north-4.myhuaweicloud.com/ddn-k8s/docker.io/library/hello-world:latest
镜像ID sha256:d2c94e258dcb3c5ac2798d32e1249e42ef01cba4841c2234249495f87264ac5a
镜像TAG latest
大小 13.26KB
镜像源 docker.io
项目信息 Docker-Hub主页 🚀项目TAG 🚀
CMD /hello
启动入口
工作目录 /
OS/平台 linux/amd64
浏览量 24 次
贡献者
镜像创建 2023-05-02T16:49:27Z
同步时间 2024-11-12 11:06
更新时间 2024-11-20 21:51
环境变量
PATH=/usr/local/sbin:/usr/local/bin:/usr/sbin:/usr/bin:/sbin:/bin

Docker拉取命令 无权限下载?点我修复

docker pull swr.cn-north-4.myhuaweicloud.com/ddn-k8s/docker.io/library/hello-world:latest
docker tag  swr.cn-north-4.myhuaweicloud.com/ddn-k8s/docker.io/library/hello-world:latest  docker.io/library/hello-world:latest

Containerd拉取命令

ctr images pull swr.cn-north-4.myhuaweicloud.com/ddn-k8s/docker.io/library/hello-world:latest
ctr images tag  swr.cn-north-4.myhuaweicloud.com/ddn-k8s/docker.io/library/hello-world:latest  docker.io/library/hello-world:latest

Shell快速替换命令

sed -i 's#library/hello-world:latest#swr.cn-north-4.myhuaweicloud.com/ddn-k8s/docker.io/library/hello-world:latest#' deployment.yaml

Ansible快速分发-Docker

#ansible k8s -m shell -a 'docker pull swr.cn-north-4.myhuaweicloud.com/ddn-k8s/docker.io/library/hello-world:latest && docker tag  swr.cn-north-4.myhuaweicloud.com/ddn-k8s/docker.io/library/hello-world:latest  docker.io/library/hello-world:latest'

Ansible快速分发-Containerd

#ansible k8s -m shell -a 'ctr images pull swr.cn-north-4.myhuaweicloud.com/ddn-k8s/docker.io/library/hello-world:latest && ctr images tag  swr.cn-north-4.myhuaweicloud.com/ddn-k8s/docker.io/library/hello-world:latest  docker.io/library/hello-world:latest'

镜像历史

大小 创建时间 层信息
0.00B 2023-05-03 00:49:27 CMD ["/hello"]
13.26KB 2023-05-03 00:49:27 COPY hello / # buildkit

镜像信息

{
    "Id": "sha256:d2c94e258dcb3c5ac2798d32e1249e42ef01cba4841c2234249495f87264ac5a",
    "RepoTags": [
        "hello-world:latest",
        "swr.cn-north-4.myhuaweicloud.com/ddn-k8s/docker.io/library/hello-world:latest"
    ],
    "RepoDigests": [
        "hello-world@sha256:d211f485f2dd1dee407a80973c8f129f00d54604d2c90732e8e320e5038a0348",
        "swr.cn-north-4.myhuaweicloud.com/ddn-k8s/docker.io/library/hello-world@sha256:d37ada95d47ad12224c205a938129df7a3e52345828b4fa27b03a98825d1e2e7"
    ],
    "Parent": "",
    "Comment": "buildkit.dockerfile.v0",
    "Created": "2023-05-02T16:49:27Z",
    "Container": "",
    "ContainerConfig": null,
    "DockerVersion": "",
    "Author": "",
    "Config": {
        "Hostname": "",
        "Domainname": "",
        "User": "",
        "AttachStdin": false,
        "AttachStdout": false,
        "AttachStderr": false,
        "Tty": false,
        "OpenStdin": false,
        "StdinOnce": false,
        "Env": [
            "PATH=/usr/local/sbin:/usr/local/bin:/usr/sbin:/usr/bin:/sbin:/bin"
        ],
        "Cmd": [
            "/hello"
        ],
        "ArgsEscaped": true,
        "Image": "",
        "Volumes": null,
        "WorkingDir": "/",
        "Entrypoint": null,
        "OnBuild": null,
        "Labels": null
    },
    "Architecture": "amd64",
    "Os": "linux",
    "Size": 13256,
    "GraphDriver": {
        "Data": {
            "MergedDir": "/var/lib/docker/overlay2/122a76f66571cca709778541efeaa7a97cf2316a975184b785ea18cd1e15fb4d/merged",
            "UpperDir": "/var/lib/docker/overlay2/122a76f66571cca709778541efeaa7a97cf2316a975184b785ea18cd1e15fb4d/diff",
            "WorkDir": "/var/lib/docker/overlay2/122a76f66571cca709778541efeaa7a97cf2316a975184b785ea18cd1e15fb4d/work"
        },
        "Name": "overlay2"
    },
    "RootFS": {
        "Type": "layers",
        "Layers": [
            "sha256:ac28800ec8bb38d5c35b49d45a6ac4777544941199075dff8c4eb63e093aa81e"
        ]
    },
    "Metadata": {
        "LastTagTime": "2024-11-12T11:06:40.216924368+08:00"
    }
}

更多版本

docker.io/library/hello-world:latest

linux/amd64 docker.io13.26KB2024-11-12 11:06
23