Open sufish opened 1 year ago
Hello,您可以直接执行该命令:
echo -e '\n# if your repository is private,please login...\n# docker login registry.cn-beijing.aliyuncs.com/didikon_mirror --username={your username}\n \ndocker pull registry.cn-beijing.aliyuncs.com/didikon_mirror/nginx:1.21-alpine\ndocker tag registry.cn-beijing.aliyuncs.com/didikon_mirror/nginx:1.21-alpine nginx:1.21-alpine\n\n' | bash
或是手动执行:
# if your repository is private,please login...
# docker login registry.cn-beijing.aliyuncs.com/didikon_mirror --username={your username}
docker pull registry.cn-beijing.aliyuncs.com/didikon_mirror/nginx:1.21-alpine
docker tag registry.cn-beijing.aliyuncs.com/didikon_mirror/nginx:1.21-alpine nginx:1.21-alpine
希望可以帮助到您,祝您周一愉快!
{ "hub-mirror": [ "nginx:1.21-alpine" ] }