Open xuzhu-591 opened 1 year ago
Hello,您可以直接执行该命令:
echo -e '\n# if your repository is private,please login...\n# docker login registry.cn-hangzhou.aliyuncs.com/horizoncd --username={your username}\n \ndocker pull registry.cn-hangzhou.aliyuncs.com/horizoncd/node:20.5-alpine\ndocker tag registry.cn-hangzhou.aliyuncs.com/horizoncd/node:20.5-alpine node:20.5-alpine\n\n\n# if your repository is private,please login...\n# docker login registry.cn-hangzhou.aliyuncs.com/horizoncd --username={your username}\n \ndocker pull registry.cn-hangzhou.aliyuncs.com/horizoncd/node:16-alpine3.17\ndocker tag registry.cn-hangzhou.aliyuncs.com/horizoncd/node:16-alpine3.17 node:16-alpine3.17\n\n\n# if your repository is private,please login...\n# docker login registry.cn-hangzhou.aliyuncs.com/horizoncd --username={your username}\n \ndocker pull registry.cn-hangzhou.aliyuncs.com/horizoncd/golang:1.18-alpine\ndocker tag registry.cn-hangzhou.aliyuncs.com/horizoncd/golang:1.18-alpine golang:1.18-alpine\n\n\n# if your repository is private,please login...\n# docker login registry.cn-hangzhou.aliyuncs.com/horizoncd --username={your username}\n \ndocker pull registry.cn-hangzhou.aliyuncs.com/horizoncd/golang:1.20-alpine\ndocker tag registry.cn-hangzhou.aliyuncs.com/horizoncd/golang:1.20-alpine golang:1.20-alpine\n\n\n# if your repository is private,please login...\n# docker login registry.cn-hangzhou.aliyuncs.com/horizoncd --username={your username}\n \ndocker pull registry.cn-hangzhou.aliyuncs.com/horizoncd/golang:1.19-alpine\ndocker tag registry.cn-hangzhou.aliyuncs.com/horizoncd/golang:1.19-alpine golang:1.19-alpine\n\n\n# if your repository is private,please login...\n# docker login registry.cn-hangzhou.aliyuncs.com/horizoncd --username={your username}\n \ndocker pull registry.cn-hangzhou.aliyuncs.com/horizoncd/golang:1.21-alpine\ndocker tag registry.cn-hangzhou.aliyuncs.com/horizoncd/golang:1.21-alpine golang:1.21-alpine\n\n' | bash
或是手动执行:
# if your repository is private,please login...
# docker login registry.cn-hangzhou.aliyuncs.com/horizoncd --username={your username}
docker pull registry.cn-hangzhou.aliyuncs.com/horizoncd/node:20.5-alpine
docker tag registry.cn-hangzhou.aliyuncs.com/horizoncd/node:20.5-alpine node:20.5-alpine
# if your repository is private,please login...
# docker login registry.cn-hangzhou.aliyuncs.com/horizoncd --username={your username}
docker pull registry.cn-hangzhou.aliyuncs.com/horizoncd/node:16-alpine3.17
docker tag registry.cn-hangzhou.aliyuncs.com/horizoncd/node:16-alpine3.17 node:16-alpine3.17
# if your repository is private,please login...
# docker login registry.cn-hangzhou.aliyuncs.com/horizoncd --username={your username}
docker pull registry.cn-hangzhou.aliyuncs.com/horizoncd/golang:1.18-alpine
docker tag registry.cn-hangzhou.aliyuncs.com/horizoncd/golang:1.18-alpine golang:1.18-alpine
# if your repository is private,please login...
# docker login registry.cn-hangzhou.aliyuncs.com/horizoncd --username={your username}
docker pull registry.cn-hangzhou.aliyuncs.com/horizoncd/golang:1.20-alpine
docker tag registry.cn-hangzhou.aliyuncs.com/horizoncd/golang:1.20-alpine golang:1.20-alpine
# if your repository is private,please login...
# docker login registry.cn-hangzhou.aliyuncs.com/horizoncd --username={your username}
docker pull registry.cn-hangzhou.aliyuncs.com/horizoncd/golang:1.19-alpine
docker tag registry.cn-hangzhou.aliyuncs.com/horizoncd/golang:1.19-alpine golang:1.19-alpine
# if your repository is private,please login...
# docker login registry.cn-hangzhou.aliyuncs.com/horizoncd --username={your username}
docker pull registry.cn-hangzhou.aliyuncs.com/horizoncd/golang:1.21-alpine
docker tag registry.cn-hangzhou.aliyuncs.com/horizoncd/golang:1.21-alpine golang:1.21-alpine
希望可以帮助到您,祝您周一愉快!
{ "hub-mirror": [ "node:16-alpine3.17$node", "node:20.5-alpine$node", "golang:1.18-alpine$golang", "golang:1.19-alpine$golang", "golang:1.20-alpine$golang", "golang:1.21-alpine$golang" ] }