In addition to Weibo, there is also WeChat
Please pay attention
WeChat public account
Shulou
2025-04-05 Update From: SLTechnology News&Howtos shulou NAV: SLTechnology News&Howtos > Servers >
Share
Shulou(Shulou.com)06/01 Report--
This article will explain in detail how to submit the warehouse in Docker. The content of the article is of high quality, so the editor shares it for you as a reference. I hope you will have a certain understanding of the relevant knowledge after reading this article.
You can log in with docker login.
Then pack the tag,push and go up. (only to find out that I typed the wrong word, remember to change my user name.)
Docker tag deiban:v9_ssh2 taterli/debian:v9_ssh2docker push taterli/debian:v9_ssh2
I saw what I created on the web page.
As long as other people do so, they can pull my docker.
Docker push taterli/debian:v9_ssh2
In fact, Docker Hub has a private quota, but it is far from enough. We can make our own private warehouse.
Run the official registry.
Docker run-d-p 5000UR 5000-restart=always-name registry registry
If v is not specified here, it can be permanently stored in / var/lib/registry, or mount can be specified.
-v / opt/data/registry:/var/lib/registry
Then push goes up with a different address.
Docker tag deiban:v9_ssh2 173.255.197.12:5000/debian:v9_ssh2docker push 173.255.197.12:5000/debian:v9_ssh2
And then I found that I had failed.
The original is to HTTPS mode, for convenience, do not issue a certificate, create (exist on rewrite) configuration file / etc/docker/daemon.json, add an operation.
{"insecure-registries": ["173.255.197.12 insecure-registries 5000"]}
Then restart the docker service before you can use it. Why does the intranet still have a speed limit on its own access?
.
On how to submit the warehouse in Docker to share here, I hope the above content can be of some help to you, can learn more knowledge. If you think the article is good, you can share it for more people to see.
Welcome to subscribe "Shulou Technology Information " to get latest news, interesting things and hot topics in the IT industry, and controls the hottest and latest Internet news, technology news and IT industry trends.
Views: 0
*The comments in the above article only represent the author's personal views and do not represent the views and positions of this website. If you have more insights, please feel free to contribute and share.
Continue with the installation of the previous hadoop.First, install zookooper1. Decompress zookoope
"Every 5-10 years, there's a rare product, a really special, very unusual product that's the most un
© 2024 shulou.com SLNews company. All rights reserved.