zhangjiezhang / hub-mirror

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

[hub-mirror] prometheus grafana #8

Open zhangjiezhang opened 1 year ago

zhangjiezhang commented 1 year ago

{ "hub-mirror": [ "prom/prometheus:v2.42.0", "grafana/grafana:9.3.6" ] }

github-actions[bot] commented 1 year ago

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

echo -e '\n# if your repository is private,please login...\n# docker login registry.cn-hangzhou.aliyuncs.com/pascallxyz --username={your username}\n    \ndocker pull registry.cn-hangzhou.aliyuncs.com/pascallxyz/prom.prometheus:v2.42.0\ndocker tag registry.cn-hangzhou.aliyuncs.com/pascallxyz/prom.prometheus:v2.42.0 prom/prometheus:v2.42.0\ndocker rmi registry.cn-hangzhou.aliyuncs.com/pascallxyz/prom.prometheus:v2.42.0\n\n# if your repository is private,please login...\n# docker login registry.cn-hangzhou.aliyuncs.com/pascallxyz --username={your username}\n   \ndocker pull registry.cn-hangzhou.aliyuncs.com/pascallxyz/grafana.grafana:9.3.6\ndocker tag registry.cn-hangzhou.aliyuncs.com/pascallxyz/grafana.grafana:9.3.6 grafana/grafana:9.3.6\ndocker rmi registry.cn-hangzhou.aliyuncs.com/pascallxyz/grafana.grafana:9.3.6\n' | bash

或是手动执行:


# if your repository is private,please login...
# docker login registry.cn-hangzhou.aliyuncs.com/pascallxyz --username={your username}

docker pull registry.cn-hangzhou.aliyuncs.com/pascallxyz/prom.prometheus:v2.42.0
docker tag registry.cn-hangzhou.aliyuncs.com/pascallxyz/prom.prometheus:v2.42.0 prom/prometheus:v2.42.0
docker rmi registry.cn-hangzhou.aliyuncs.com/pascallxyz/prom.prometheus:v2.42.0

# if your repository is private,please login...
# docker login registry.cn-hangzhou.aliyuncs.com/pascallxyz --username={your username}

docker pull registry.cn-hangzhou.aliyuncs.com/pascallxyz/grafana.grafana:9.3.6
docker tag registry.cn-hangzhou.aliyuncs.com/pascallxyz/grafana.grafana:9.3.6 grafana/grafana:9.3.6
docker rmi registry.cn-hangzhou.aliyuncs.com/pascallxyz/grafana.grafana:9.3.6

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