Open zhangjiezhang opened 11 months 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/quay.io.prometheus.node-exporter:latest\ndocker tag registry.cn-hangzhou.aliyuncs.com/pascallxyz/quay.io.prometheus.node-exporter:latest quay.io/prometheus/node-exporter:latest\ndocker rmi registry.cn-hangzhou.aliyuncs.com/pascallxyz/quay.io.prometheus.node-exporter:latest\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/quay.io.prometheus.node-exporter:latest
docker tag registry.cn-hangzhou.aliyuncs.com/pascallxyz/quay.io.prometheus.node-exporter:latest quay.io/prometheus/node-exporter:latest
docker rmi registry.cn-hangzhou.aliyuncs.com/pascallxyz/quay.io.prometheus.node-exporter:latest
希望可以帮助到您,祝您周五愉快!
{ "hub-mirror": [ "quay.io/prometheus/node-exporter:latest" ] }