无法上传镜像到阿里云自建仓库中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,请问有人知道怎么弄不?

目录
相关文章
|
11月前
|
Kubernetes 数据安全/隐私保护 Docker
k8s 拉取镜像报错 no basic auth credentials
k8s 拉取镜像报错 no basic auth credentials
1069 0
|
11月前
|
存储 Java Maven
maven在尝试访问nexus存储库时得到“未授权” Not authorized , ReasonPhrase:Unauthorized
maven在尝试访问nexus存储库时得到“未授权” Not authorized , ReasonPhrase:Unauthorized
545 0
|
2月前
|
存储 API
【Azure API 管理】APIM中证书更新问题
【Azure API 管理】APIM中证书更新问题
|
2月前
|
运维 Kubernetes 容器
【Azure K8S】演示修复因AKS密钥过期而导致创建服务不成功的问题(The provided client secret keys for app ****** are expired)
【Azure K8S】演示修复因AKS密钥过期而导致创建服务不成功的问题(The provided client secret keys for app ****** are expired)
【Azure K8S】演示修复因AKS密钥过期而导致创建服务不成功的问题(The provided client secret keys for app ****** are expired)
|
2月前
|
存储 网络安全 数据中心
【Azure 存储服务】App Service 访问开启防火墙的存储账号时遇见 403 (This request is not authorized to perform this operation.)
【Azure 存储服务】App Service 访问开启防火墙的存储账号时遇见 403 (This request is not authorized to perform this operation.)
【Azure 存储服务】App Service 访问开启防火墙的存储账号时遇见 403 (This request is not authorized to perform this operation.)
|
2月前
|
Kubernetes API 网络架构
【Azure APIM】APIM self-host 部署在K8S中,如何更换证书呢?
【Azure APIM】APIM self-host 部署在K8S中,如何更换证书呢?
|
2月前
|
JSON API 网络架构
【Azure APIM】验证APIM删除后的恢复步骤
【Azure APIM】验证APIM删除后的恢复步骤
|
2月前
|
API 持续交付 数据安全/隐私保护
【Azure ACR+App Service】ACR WebHook请求App Service时遇见 401 Unauthorized
【Azure ACR+App Service】ACR WebHook请求App Service时遇见 401 Unauthorized
|
2月前
|
网络安全 数据安全/隐私保护
【Azure 应用服务】 在App Service中无法上传证书[Private Key Certificates (.pfx)],导入Azure Key Vault中的证书也无法成功
【Azure 应用服务】 在App Service中无法上传证书[Private Key Certificates (.pfx)],导入Azure Key Vault中的证书也无法成功