当前位置:网站首页>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
边栏推荐
- About anonymous inner classes
- C language learning log 10.19
- Small project - household income and expenditure software (1)
- The problem of flex layout adaptive failure
- 【多线程编程】Future接口获取线程执行结果数据
- Clause 26: avoid overloading universal reference types
- 17.6 unique_ Lock details
- RTSP streaming using easydarwin+ffmpeg
- C language learning log 1.16
- The games that you've tasted
猜你喜欢
随机推荐
Dup2 use
Case - count the number of occurrences of each string in the string
Std:: map insert details
QT brushes and brushes
Force deduction 121 questions
Simple SR: best buddy Gans for highly detailed image super resolution
LeetCode第297场周赛(20220612)
Enhanced for loop
Clause 31: avoid default capture mode
Clause 30: be familiar with the failure of perfect forwarding
CMB's written test -- data analysis
Case - simulated landlords (upgraded version)
Case - grade sorting - TreeSet set storage
C language learning log 12.5
PostgreSQL Guide: inside exploration (Chapter 10 basic backup and point in time recovery) - Notes
使用EasyDarwin+FFmpeg实现rtsp推流
Ruoyi cloud startup tutorial (hand-held graphics)
Opencv image storage and reading
【多线程】线程池核心类-ThreadPoolExecutor
C language learning log 1.2









