[英]Docker Push has failed in Red Hat Server with error “**denied: requested access to the resource is denied**”
I am new bee to docker concepts . 我是docker概念的新手。 I have been trying the samples of creating images and push in docker hub on red hat server. 我一直在尝试创建图像的示例,并将其推入Red Hat服务器上的Docker Hub。 I used below command to push my image to hub ( Note : i dont have any special char to my image name) 我使用以下命令将图像推送到集线器( 注意:我的图像名称没有任何特殊字符)
docker push registry.hub.docker.com/ssqaapt/first-img-sample
I am facing an below error when I push the image to docker hub repo . 当我将映像推送到docker hub repo时,我遇到以下错误。
[root@p01 simple-web-app]# docker push registry.hub.docker.com/ssaapt/wipro-first-img-sample
The push refers to a repository [registry.hub.docker.com/ssaapt/first-img-sample]
673be84d418c: Preparing
....
b6a02001ba33: Waiting
....
denied: requested access to the resource is denied
I tried the push after i have logged my docker acc using ths cmd docker login
. 我使用cmd docker login
登录我的docker acc后尝试了推送。 Please suggest me if i have done anything wrong or do i need any configuration change . 如果我做错了任何事情或需要任何配置更改,请提出建议。 I verified this link( denied: requested access to the resource is denied : docker ) as well but no luck . 我也验证了此链接( 拒绝:请求对资源的访问被拒绝:docker ),但没有运气。
Add/Replace 'registry.hub.docker.com' for [registries.search] and [registries.insecure]section. 在[registries.search]和[registries.insecure]部分添加/替换'registry.hub.docker.com'。
Restart your docker 重启你的码头工人
声明:本站的技术帖子网页,遵循CC BY-SA 4.0协议,如果您需要转载,请注明本站网址或者原文地址。任何问题请咨询:yoyou2525@163.com.