Sign inSign up

dothebetter/hello-world

By dothebetter

Updated over 1 year ago

自用docker.io及ghcr.io连通性测试镜像,支持amd64;arm64v8;arm32v7系统。

Image
0

743

dothebetter/hello-world repository overview

简介:

Static Badge GitHub repo size GitHub Actions Workflow Status
Static Badge Static Badge Docker Image Version Docker Image Size Docker Pulls

​ 自用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!

Tag summary

Content type

Image

Digest

sha256:4dc662181

Size

1.3 MB

Last updated

over 1 year ago

docker pull dothebetter/hello-world