liuli01 / hub-mirror

🚀 gcr.io、registry.k8s.io、k8s.gcr.io、quay.io、ghcr.io 等国外镜像加速下载服务
MIT License
0 stars 0 forks source link

[hub-mirror] 请求执行任务 #18

Open liuli01 opened 4 months ago

liuli01 commented 4 months ago

{ "hub-mirror": [ "openjdk:8-jre-alpine" ] }

github-actions[bot] commented 4 months ago

Hello,您可以直接执行该命令:

echo -e '\n# if your repository is private,please login...\n# docker login registry.baidubce.com/hub-mirror --username={your username}\n    \ndocker pull registry.baidubce.com/hub-mirror/openjdk:8-jre-alpine\ndocker tag registry.baidubce.com/hub-mirror/openjdk:8-jre-alpine openjdk:8-jre-alpine\n\n' | bash

或是手动执行:


# if your repository is private,please login...
# docker login registry.baidubce.com/hub-mirror --username={your username}

docker pull registry.baidubce.com/hub-mirror/openjdk:8-jre-alpine
docker tag registry.baidubce.com/hub-mirror/openjdk:8-jre-alpine openjdk:8-jre-alpine

希望可以帮助到您,祝您周五愉快!