Docker image cannot upload solution _docker

Source: Internet
Author: User
Tags docker hub

Objective

First of all to solve a problem, the front landlord appeared in the push mirror error problem, the landlord would not understand why in the push when the error, today saw an article, accurate said is the official website introduction.

If you need to push a local mirror to a mirrored warehouse in Daocloud (that is, a private warehouse), you need to perform the following steps:

First you need to play a tag for the mirror, in the tag operation, you need to use the mirror Iamgeid. In addition, please note that the tag operation, you need to indicate your Daocloud user ID, so that the mirror will push to your warehouse, otherwise the default is to the Dalcloud warehouse root directory, This directory does not have permissions for ordinary users, so hi has a permissions error when pushed. In fact, most of the problems are the authority problem.

Only paid users can use the PUSH function!!!

Solving method

Let's just upload it to the Docker hub middle of it, so the operation is relatively simple, first you need to have an docker hub account, and log in.
Then execute on the terminal

 
 

Prompts you to enter your registration docker hub information.

If you see successful information, you are successful, this time, you can perform the tag operation, in the tag, you need to pay attention to the format. In the same way, anyone can docker hub download a mirror from a warehouse, but if you want to share your image, you must register first.

 
 

Then you can see the look of success.

Open your eyes and you will docker hub see the image you uploaded.

If you have a host, this time you use docker pull shanyongxu/syx_image the words will be able to successfully pull down your mirror from the Dockerhub.

Summarize

The above is the entire content of this article, I hope the content of this article for everyone to learn or use Docker can help, if you have questions you can message exchange.

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.