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.