0

I am using ubuntu 16.04 in virtual box. I have successfully install Docker Docker version 20.10.5, build 55c4c88 enter image description here

I have try all commands to push my image docker hub but failed. Every time I got same issue denied: requested access to the resource is denied

please help me out....

BhuriStray
  • 87
  • 1
  • 12
  • Does [this](https://stackoverflow.com/a/41984666/4676641) answer your question? – cam Mar 20 '21 at 07:29

1 Answers1

0

It is clear from the error denied: requested access to the resource is denied means you do not have the permission to push. So first you need to get the permission to push. And to do that, before pushing to docker hub, you need to do:

docker login --username=<your_docker_hub_username>

and then:

docker push <your_docker_hub_name>/<your_image_name>:<image_tag>

Sahadat Hossain
  • 3,583
  • 2
  • 12
  • 19