无法上传镜像到阿里云自建仓库中unauthorized: authentication required

[root@registry-jenkins ~]# docker login --username=xxxxxxx registry.cn-hangzhou.aliyuncs.com
Password: 
Login Succeeded
[root@registry-jenkins ~]# docker tag 65033c48f37d registry.cn-hangzhou.aliyuncs.com/troylc/hub/redis
[root@registry-jenkins ~]# docker push registry.cn-hangzhou.aliyuncs.com/troylc/hub/redis
The push refers to a repository [registry.cn-hangzhou.aliyuncs.com/troylc/hub/redis]
20785ce71e91: Preparing 
5f70bf18a086: Preparing 
4222e748fbf4: Preparing 
2e336c83a678: Preparing 
c1f87b9efb47: Preparing 
410c2ee29979: Waiting 
2094c19664d6: Waiting 
574d78bd91be: Waiting 
917c0fc99b35: Waiting 
unauthorized: authentication required
[root@registry-jenkins ~]# 

上面提示我登录成功,但push的时候报unauthorized: authentication required,请问有人知道怎么弄不?

你可能感兴趣的:(无法上传镜像到阿里云自建仓库中unauthorized: authentication required)