Docker push denied requested access to the resource is denied unauthorized authentication required
Open command prompt and execute below command
docker login
If you have Docker Desktop installed then it will automatically get credentials otherwise you can follow steps: click here
Ensure you have tagged the local images with the Docker account namespace -
To get Docker account namespace: click here
You can change the tag using below command
docker tag name-of-image docker_a/c_namespace/name-of-image
Example- C:\Windows\System32>docker tag eazybytes/loans ctcsinformation/loans
Finally you can push the docker images to docker hub
docker login
If you have Docker Desktop installed then it will automatically get credentials otherwise you can follow steps: click here
Ensure you have tagged the local images with the Docker account namespace -
To get Docker account namespace: click here
You can change the tag using below command
docker tag name-of-image docker_a/c_namespace/name-of-image
Example- C:\Windows\System32>docker tag eazybytes/loans ctcsinformation/loans
Finally you can push the docker images to docker hub
Comments
Post a Comment