denied: requested access to the resource is denied
denied: requested access to the resource is denied
If you face this error while pushing image to remote docker registry then you can use below solution to fix the issue.
In my case, I have created few images and I was trying to push those images in remote docker repository but I was getting this issue.
I came across below solution to fix this issue
- Login in Docker Hub account in command line
docker login -u techieroop
- Tag your image build
docker tag ab_entrypoint:latest techieroop/devops:ab
ab_entrypoint : Local image and default tag is latest
techieroop: Docker hub username
devops: Docker hub public repository
- Pushed the image to your private docker repository
docker push techieroop/devops:ab
Reference:
https://docs.docker.com/engine/reference/commandline/push/
(Visited 57 times, 18 visits today)