In addition to Weibo, there is also WeChat
Please pay attention
WeChat public account
Shulou
2025-04-02 Update From: SLTechnology News&Howtos shulou NAV: SLTechnology News&Howtos > Internet Technology >
Share
Shulou(Shulou.com)06/01 Report--
This article mainly introduces "how to start the fast domestic code Repo and Docker image pull". In the daily operation, I believe many people have doubts about how to start the fast domestic code Repo and Docker image pull. The editor consulted all kinds of materials and sorted out simple and easy-to-use operation methods. I hope it will be helpful to answer the doubts of "how to start the fast domestic code Repo and Docker image pull". Next, please follow the editor to study!
The master station code Repo of Apollo is on Github, and the image Repo is on DockerHub, so it is unstable to pull for a long time.
Fast pull mode of domestic Repo
First of all, there is a description of China's fast code pull in Github Apollo's Quick Start.
It is put on Gitee in China.
Git clone https://gitee.com/ApolloAuto/apollo.gitgit remote set-url origin git@github.com:YOUR_GITHUB_USERNAME/apollo.git# Using SSHgit remote add upstream git@github.com:ApolloAuto/apollo.gitgit remote-vgit pull-rebase upstream master
Step 1: the browser opens the following two URLs and finds the corresponding IP address: http://github.com.ipaddress.com/ http://github.global.ssl.fastly.net.ipaddress.com/
Step 2: edit the hosts file sudo vim / etc/hosts to add the following two lines:
140.82.xx.xxx github.com 199.232.yy.yyy github.global.ssl.fastly.net
Step 3: update the DNS cache (Mac users only) Please ignore this step for Linux users.
Sudo dscacheutil-flushcache
Fast pull start mode of domestic image
There is a command line acceleration option when running dev_start.sh:
Dev_start.sh-helpOPTIONS:-h,-- help Display this help and exit. -f,-- fast Fast mode without pulling all map volumes. -g,-- geo Pull docker image from geolocation specific registry mirror. -l,-- local Use local docker image. -t,-- tag Specify docker image with tag to start. -d,-- dist Specify Apollo distribution (stable/testing)-- shm-size Size of / dev/shm. Passed directly to "docker run"-y Agree to Apollo License Agreement non-interactively. Stop Stop all running Apollo containers.
It is this-g cn option that speeds up pulling images from domestic mirrors rather than dockerhub.
Dev_start.sh-g cn
It's good enough to start apollo now.
At this point, the study on "how to start the fast domestic code Repo and Docker image pull" is over. I hope to be able to solve your doubts. The collocation of theory and practice can better help you learn, go and try it! If you want to continue to learn more related knowledge, please continue to follow the website, the editor will continue to work hard to bring you more practical articles!
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.