Open shangdibufashi opened 2 weeks ago
Hello,您可以直接执行该命令:
echo -e '\n# if your repository is private,please login...\n# docker login registry.cn-hangzhou.aliyuncs.com/zhuoxiangqy --username={your username}\n \ndocker pull registry.cn-hangzhou.aliyuncs.com/zhuoxiangqy/docker.io:mongo_4.2\ndocker tag registry.cn-hangzhou.aliyuncs.com/zhuoxiangqy/docker.io:mongo_4.2 docker.io/mongo:4.2\n\n' | bash
或是手动执行:
# if your repository is private,please login...
# docker login registry.cn-hangzhou.aliyuncs.com/zhuoxiangqy --username={your username}
docker pull registry.cn-hangzhou.aliyuncs.com/zhuoxiangqy/docker.io:mongo_4.2
docker tag registry.cn-hangzhou.aliyuncs.com/zhuoxiangqy/docker.io:mongo_4.2 docker.io/mongo:4.2
希望可以帮助到您,祝您周日愉快!
{ "hub-mirror": [ "docker.io/mongo:4.2" ] }