Open samuelchen opened 1 year ago
Hello,您可以直接执行该命令:
echo -e '\n# if your repository is private,please login...\n# docker login swr.cn-south-1.myhuaweicloud.com/samc --username={your username}\n \ndocker pull swr.cn-south-1.myhuaweicloud.com/samc/ghcr.io.goharbor.registry-photon:v2.6.2\ndocker tag swr.cn-south-1.myhuaweicloud.com/samc/ghcr.io.goharbor.registry-photon:v2.6.2 ghcr.io/goharbor/registry-photon:v2.6.2\n\n\n# if your repository is private,please login...\n# docker login swr.cn-south-1.myhuaweicloud.com/samc --username={your username}\n \ndocker pull swr.cn-south-1.myhuaweicloud.com/samc/ghcr.io.goharbor.harbor-registryctl:v2.6.2\ndocker tag swr.cn-south-1.myhuaweicloud.com/samc/ghcr.io.goharbor.harbor-registryctl:v2.6.2 ghcr.io/goharbor/harbor-registryctl:v2.6.2\n\n' | bash
或是手动执行:
# if your repository is private,please login...
# docker login swr.cn-south-1.myhuaweicloud.com/samc --username={your username}
docker pull swr.cn-south-1.myhuaweicloud.com/samc/ghcr.io.goharbor.registry-photon:v2.6.2
docker tag swr.cn-south-1.myhuaweicloud.com/samc/ghcr.io.goharbor.registry-photon:v2.6.2 ghcr.io/goharbor/registry-photon:v2.6.2
# if your repository is private,please login...
# docker login swr.cn-south-1.myhuaweicloud.com/samc --username={your username}
docker pull swr.cn-south-1.myhuaweicloud.com/samc/ghcr.io.goharbor.harbor-registryctl:v2.6.2
docker tag swr.cn-south-1.myhuaweicloud.com/samc/ghcr.io.goharbor.harbor-registryctl:v2.6.2 ghcr.io/goharbor/harbor-registryctl:v2.6.2
希望可以帮助到您,祝您周四愉快!
{ "hub-mirror": [ "ghcr.io/goharbor/registry-photon:v2.6.2", "ghcr.io/goharbor/harbor-registryctl:v2.6.2" ] }