ghcr.io/knative/helloworld-go:latest linux/amd64

ghcr.io/knative/helloworld-go:latest - 国内下载镜像源 浏览次数:17

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

这是一个Knative提供的示例镜像,使用Go语言编写了一个简单的“Hello World”程序。 该镜像用于演示Knative服务的部署和运行。

源镜像 ghcr.io/knative/helloworld-go:latest
国内镜像 swr.cn-north-4.myhuaweicloud.com/ddn-k8s/ghcr.io/knative/helloworld-go:latest
镜像ID sha256:32f96f48f29598e32208953a2994c606e6eaa9bfb8c4faebd064fccef2db00d5
镜像TAG latest
大小 16.52MB
镜像源 ghcr.io
CMD /server
启动入口
工作目录 /
OS/平台 linux/amd64
浏览量 17 次
贡献者
镜像创建 2025-04-15T13:07:30.011551539Z
同步时间 2025-05-06 12:18
更新时间 2025-05-08 04:45
环境变量
PATH=/usr/local/sbin:/usr/local/bin:/usr/sbin:/usr/bin:/sbin:/bin

Docker拉取命令

docker pull swr.cn-north-4.myhuaweicloud.com/ddn-k8s/ghcr.io/knative/helloworld-go:latest
docker tag  swr.cn-north-4.myhuaweicloud.com/ddn-k8s/ghcr.io/knative/helloworld-go:latest  ghcr.io/knative/helloworld-go:latest

Containerd拉取命令

ctr images pull swr.cn-north-4.myhuaweicloud.com/ddn-k8s/ghcr.io/knative/helloworld-go:latest
ctr images tag  swr.cn-north-4.myhuaweicloud.com/ddn-k8s/ghcr.io/knative/helloworld-go:latest  ghcr.io/knative/helloworld-go:latest

Shell快速替换命令

sed -i 's#ghcr.io/knative/helloworld-go:latest#swr.cn-north-4.myhuaweicloud.com/ddn-k8s/ghcr.io/knative/helloworld-go:latest#' deployment.yaml

Ansible快速分发-Docker

#ansible k8s -m shell -a 'docker pull swr.cn-north-4.myhuaweicloud.com/ddn-k8s/ghcr.io/knative/helloworld-go:latest && docker tag  swr.cn-north-4.myhuaweicloud.com/ddn-k8s/ghcr.io/knative/helloworld-go:latest  ghcr.io/knative/helloworld-go:latest'

Ansible快速分发-Containerd

#ansible k8s -m shell -a 'ctr images pull swr.cn-north-4.myhuaweicloud.com/ddn-k8s/ghcr.io/knative/helloworld-go:latest && ctr images tag  swr.cn-north-4.myhuaweicloud.com/ddn-k8s/ghcr.io/knative/helloworld-go:latest  ghcr.io/knative/helloworld-go:latest'

镜像构建历史


# 2025-04-15 21:07:30  0.00B 设置默认要执行的命令
CMD ["/server"]
                        
# 2025-04-15 21:07:30  8.15MB 复制新文件或目录到容器中
COPY /app/server /server # buildkit
                        
# 2025-04-15 21:06:22  533.87KB 执行命令并创建新的镜像层
RUN /bin/sh -c apk add --no-cache ca-certificates # buildkit
                        
# 2025-02-14 11:28:36  0.00B 设置默认要执行的命令
CMD ["/bin/sh"]
                        
# 2025-02-14 11:28:36  7.83MB 复制文件或目录到容器中
ADD alpine-minirootfs-3.21.3-x86_64.tar.gz / # buildkit
                        
                    

镜像信息

{
    "Id": "sha256:32f96f48f29598e32208953a2994c606e6eaa9bfb8c4faebd064fccef2db00d5",
    "RepoTags": [
        "ghcr.io/knative/helloworld-go:latest",
        "swr.cn-north-4.myhuaweicloud.com/ddn-k8s/ghcr.io/knative/helloworld-go:latest"
    ],
    "RepoDigests": [
        "ghcr.io/knative/helloworld-go@sha256:ba756b54a0d2e39c09b9a1e8b7687f0d682d1e7bb03abcc7b36c7078c4d8f727",
        "swr.cn-north-4.myhuaweicloud.com/ddn-k8s/ghcr.io/knative/helloworld-go@sha256:1c39d86e4480dfe4047ee7b2b53fefbe28c45f397e90dd8942d9623462468cbc"
    ],
    "Parent": "",
    "Comment": "buildkit.dockerfile.v0",
    "Created": "2025-04-15T13:07:30.011551539Z",
    "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": [
            "/server"
        ],
        "ArgsEscaped": true,
        "Image": "",
        "Volumes": null,
        "WorkingDir": "/",
        "Entrypoint": null,
        "OnBuild": null,
        "Labels": null
    },
    "Architecture": "amd64",
    "Os": "linux",
    "Size": 16519427,
    "GraphDriver": {
        "Data": {
            "LowerDir": "/var/lib/docker/overlay2/d303d09db796180ea66ff37589440a1e284da85b1a66e8dc8fb53e45d99abf92/diff:/var/lib/docker/overlay2/4e8c80c1de56b91b667718f35bdead0b4c91a2fdafbfe97c3c57654b169634d9/diff",
            "MergedDir": "/var/lib/docker/overlay2/feb867bca87bfa483e71bcca453f36453ff01bd10ba1981ff639efef3727291b/merged",
            "UpperDir": "/var/lib/docker/overlay2/feb867bca87bfa483e71bcca453f36453ff01bd10ba1981ff639efef3727291b/diff",
            "WorkDir": "/var/lib/docker/overlay2/feb867bca87bfa483e71bcca453f36453ff01bd10ba1981ff639efef3727291b/work"
        },
        "Name": "overlay2"
    },
    "RootFS": {
        "Type": "layers",
        "Layers": [
            "sha256:08000c18d16dadf9553d747a58cf44023423a9ab010aab96cf263d2216b8b350",
            "sha256:b0dfb12bfedfbc83f8135476bf57b6826415eb226246f22a7dcae4fd4e08f232",
            "sha256:86c939e13458f112156455fbb427bb026ddaa278707bd9969e4789d3654c262c"
        ]
    },
    "Metadata": {
        "LastTagTime": "2025-05-06T12:18:36.378289228+08:00"
    }
}

更多版本

ghcr.io/knative/helloworld-go:latest

linux/amd64 ghcr.io16.52MB2025-05-06 12:18
16