Uploading your own image is denied denied:requested access to the resource is denied

Source: Internet
Author: User
Tags tomcat docker hub

Docker push own image file times wrong:

allen@ubuntu:/var$ sudo docker push allen-tomcat-app the
push refers to a repository [docker.io/library/ Allen-tomcat-app]
fee32021a7ec:retrying in 1 second 
5722c4c406c8:preparing 
66382c28cb47:preparing 
839d4870245c:preparing 
cf516324493c:preparing 
denied:requested access to the resource is denied

Reported denied:requested access to the resource is denied exception, meaning no permissions

Need to change name with Docker tag

Docker tag Allen-tomcat-app mydockerapp/allen-tomcat-app:latest

Re-upload:

sudo docker tag Allen-tomcat-app mydockerapp/allen-tomcat-app:latest



Cause Analysis:

The above information is denied access, because tag's name slash front section allen-tomcat-app is not my user name, the following changes it to mydockerapp/xxxxx on push success. It is important to note that Mydockerapp is my Docker user name. Go to the Docker hub website and discover a more public repository.


Page Open: Https://www.docker.com/mydockerapp

You can see the uploaded image file.


Contact Us

The content source of this page is from Internet, which doesn't represent Alibaba Cloud's opinion; products and services mentioned on that page don't have any relationship with Alibaba Cloud. If the content of the page makes you feel confusing, please write us an email, we will handle the problem within 5 days after receiving your email.

If you find any instances of plagiarism from the community, please send an email to: info-contact@alibabacloud.com and provide relevant evidence. A staff member will contact you within 5 working days.

A Free Trial That Lets You Build Big!

Start building with 50+ products and up to 12 months usage for Elastic Compute Service

  • Sales Support

    1 on 1 presale consultation

  • After-Sales Support

    24/7 Technical Support 6 Free Tickets per Quarter Faster Response

  • Alibaba Cloud offers highly flexible support services tailored to meet your exact needs.