当前位置:网站首页>Install harbor (online offline)
Install harbor (online offline)
2022-06-13 05:08:00 【Qingfeng】
install harbor
Harbor, It's an English word , It means harbor , What is the harbor for , It's the one that holds the goods , And the goods , It's in a container , When it comes to containers , I have to mention Docker Containers , because docker The technology of container is based on the principle of container . therefore ,Harbor It's one for storing Docker Enterprise level of mirroring Registry service .
Registry yes Dcoker An official private warehouse image , You can label the local image and push To Registry In the private warehouse of the container . Enterprises can meet their own needs , Use Dokcerfile Create your own image , And push it into a private warehouse , This can greatly improve the efficiency of pulling image .
One sentence summary harbor It's storage docker A private repository of images
1、 Download the installation package and copy it to linux in
Offline installation package download
https://github.com/goharbor/harbor/releases
# Switch to /data/ Under the table of contents
cd /data/
# Create directory harbor
mkdir harbor
# Will download okay harbor-offline-installer-v1.10.1.tgz decompression
tar -xcvf harbor-offline-installer-v1.10.1.tgz
# Switch to /data/ Under the table of contents
cd /data/
# Create directory harbor
mkdir harbor
# Will download okay harbor-online-installer-v1.10.10.tgz decompression
tar -zxvf harbor-online-installer-v1.10.10.tgz
Online installation package download
https://mirror.rancher.cn/#harbor/
2、 Modify the configuration file
# yes , we have harbor The configuration file for is harbor.yml.tmpl, You can make a copy and rename it
cp harbor.yml.tmpl harbor.yml
vi harbor.yml
3、 Execute installation script
./install.sh # install
4、 Look at the mirror image
because harbor Bring it with you docker Private warehouse , Can pass docker ps see
5、 visit harbor
ip+ port
Expand :
# start-up harbor
docker-compose start
# stop it harbor
docker-compose stop
边栏推荐
- Case - grade sorting - TreeSet set storage
- C language learning log 12.25
- Simple-SR:Best-Buddy GANs for Highly Detailed Image Super-Resolution論文淺析
- Advanced C language - Section 1 - data storage
- About mission planning and improving execution
- Brick story
- Advanced C - Section 2 - pointers
- Flex布局自适应失效的问题
- Std:: Map empty example
- Introduction to QT XML
猜你喜欢
随机推荐
Brick story
QT realizes message sending and file transmission between client and server
Understanding of speech signal framing
RMQ、LCA
Clause 26: avoid overloading universal reference types
Must know must know -c language keywords
Mysql8.0.13 installation tutorial (with pictures)
Chapter 17 free space management
Use of natural sorting comparable
OpenCV中的saturate操作(饱和操作)究竟是怎么回事
Configuration used by automatic teaching evaluation script
Std:: map insert details
详解OpenCV的函数cv::add(),并附各种情况的示例代码和运行结果
Stepping on a horse (one stroke)
Binary search and binary answer
The problem of flex layout adaptive failure
Case - random numbers without repetition (HashSet and TreeSet)
Chapter 15 mechanism: Address Translation
Wang Dao Chapter II linear table exercises
priority inversion problem