docker push failed and showing-'denied: requested access to the resource is deniedd’

First, login your docker account.

using docker login

Second, use this command:docker images

this command can show you all images you have, then you chose an image to push.

like as below


 

Third, you should add a tag for image you chose. You can use this command:

docker tag existent_image_name:latest your_user_name/new_image_name:latest

ex:



Finally, you use this command:docker push your_user_name/new_image:latest




good luck.

Comments

Popular posts from this blog

Email Sending through O365 using OAuth Protocol

IISRESET vs App Pool Recycling ?

Deploy .Net6.0 Web api with docker