Reputation: 1362
I am new bee to docker concepts . I have been trying the samples of creating images and push in docker hub on red hat server. 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 .
[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
.
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 .
Upvotes: 1
Views: 4226
Reputation: 11
Add/Replace ‘registry.hub.docker.com’ for [registries.search] and [registries.insecure]section.
Restart your docker
Upvotes: 1