Tag Archives: Docker push Error

How to Solve Docker push Error: denied: requested access to the resource is denied

Background of the problem

Login your docker hub account in Linux

Upload local image but report error

docker push tomcat

Solutions

docker tag tomcat poloyy/tomcat:77

Make a new tag for the image that needs to be uploaded

The applicable formula is: docker tag image to upload [: tag] [docker hub registered account name]/image name [: tag]

Tomcat: the name of the image to be uploaded. Tag can be specified

Poly: it’s my docker hub account. You can change it to your own account here

poloyy/ tomcat:77 : means that the Tomcat warehouse under the poly account is generated and labeled 77

go to docker hub

Visit: https://hub.docker.com/ , log in to your account