自用docker.io及ghcr.io连通性测试镜像,支持amd64;arm64v8;arm32v7系统。
743
自用docker.io及ghcr.io连通性测试镜像,支持amd64;arm64v8;arm32v7系统。
本镜像使用golang语言静态编译的Hello World程序,在 scratch 镜像中运行,最终镜像只有2MB左右。用于配合自用docker镜像源连通性检测脚本使用,可同时匹配docker.io及ghcr.io。
项目地址:https://github.com/DoTheBetter/docker/tree/master/hello-world
本镜像在docker.io及ghcr.io同步推送,docker.io不能使用时可使用ghcr.io
docker run --rm dothebetter/hello-world:latest
#docker run --rm ghcr.io/dothebetter/hello-world:latest
#docker run --rm registry.cn-hangzhou.aliyuncs.com/dothebetter/hello-world:latest
如果一切正常,你应该会看到输出:
Hello, World!
Content type
Image
Digest
sha256:4dc662181…
Size
1.3 MB
Last updated
over 1 year ago
docker pull dothebetter/hello-world