Open zhangjiezhang opened 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
希望可以帮助到您,祝您周一愉快!
{ "hub-mirror": [ "prom/prometheus:v2.42.0", "grafana/grafana:9.3.6" ] }