欧美一区二区三区老妇人-欧美做爰猛烈大尺度电-99久久夜色精品国产亚洲a-亚洲福利视频一区二区

Harbor企業(yè)級私有倉庫

1.安裝依賴包

專注于為中小企業(yè)提供成都做網(wǎng)站、成都網(wǎng)站制作服務(wù),電腦端+手機端+微信端的三站合一,更高效的管理,為中小企業(yè)迭部免費做網(wǎng)站提供優(yōu)質(zhì)的服務(wù)。我們立足成都,凝聚了一批互聯(lián)網(wǎng)行業(yè)人才,有力地推動了上1000家企業(yè)的穩(wěn)健成長,幫助中小企業(yè)通過網(wǎng)站建設(shè)實現(xiàn)規(guī)模擴充和轉(zhuǎn)變。

[root@node1 ~]# yum install docker-compose -y

2.下載安裝Harbor

[root@node1 ~]# wget https://storage.googleapis.com/harbor-releases/release-1.7.0/harbor-online-installer-v1.7.4.tgz

[root@node1 ~]# tar xvf harbor-online-installer-v1.7.4.tgz  -C /usr/local/

[root@node1 ~]# cd /usr/local/

[root@node1 local]# cd harbor/

[root@node1 harbor]# ./install.sh 

Note: docker version: 18.09.5

Note: docker-compose version: 1.18.0

[Step 1]: preparing environment ...

Generated and saved secret to file: /data/secretkey

Generated configuration file: ./common/config/nginx/nginx.conf

Generated configuration file: ./common/config/adminserver/env

Generated configuration file: ./common/config/core/env

Generated configuration file: ./common/config/registry/config.yml

Generated configuration file: ./common/config/db/env

Generated configuration file: ./common/config/jobservice/env

Generated configuration file: ./common/config/jobservice/config.yml

Generated configuration file: ./common/config/log/logrotate.conf

Generated configuration file: ./common/config/registryctl/env

Generated configuration file: ./common/config/core/app.conf

Generated certificate, key file: ./common/config/core/private_key.pem, cert file: ./common/config/registry/root.crt

The configuration files are ready, please use docker-compose to start the service.

[Step 2]: checking existing instance of Harbor ...

[Step 3]: starting Harbor ...

Creating network "harbor_harbor" with the default driver

Pulling log (goharbor/harbor-log:v1.7.4)...

v1.7.4: Pulling from goharbor/harbor-log

。。。。。。。。。。。。。。。。。。。。。。。。。。。。。。。。。。。。。。。。。。。。。。。。。。

Creating registry ... done

Creating harbor-core ... done

Digest: sha256:0631082e085f330bc8aac40e81cac4b247cac45edf28bd9b1b1043b4166e4254

Creating harbor-portal ... done

Creating nginx ... done

Creating registryctl ... 

Creating harbor-adminserver ... 

Creating redis ... 

Creating harbor-db ... 

Creating registry ... 

Creating harbor-core ... 

Creating harbor-portal ... 

Creating harbor-jobservice ... 

Creating nginx ... 

? ----Harbor has been installed and started successfully.----             --安裝成功

Now you should be able to visit the admin portal at http://192.168.8.10. 

For more details, please visit https://github.com/goharbor/harbor . 

[root@node1 harbor]# 


3.查看狀態(tài)

[root@node1 harbor]# docker-compose ps    

       Name                     Command               State                                Ports                              

------------------------------------------------------------------------------------------------------------------------------

harbor-adminserver   /harbor/start.sh                 Up                                                                      

harbor-core          /harbor/start.sh                 Up                                                                      

harbor-db            /entrypoint.sh postgres          Up      5432/tcp                                                        

harbor-jobservice    /harbor/start.sh                 Up                                                                      

harbor-log           /bin/sh -c /usr/local/bin/ ...   Up      127.0.0.1:1514->10514/tcp                                       

harbor-portal        nginx -g daemon off;             Up      80/tcp                                                          

nginx                nginx -g daemon off;             Up      0.0.0.0:443->443/tcp, 0.0.0.0:4443->4443/tcp, 0.0.0.0:80->80/tcp

redis                docker-entrypoint.sh redis ...   Up      6379/tcp                                                        

registry             /entrypoint.sh /etc/regist ...   Up      5000/tcp                                                        

registryctl          /harbor/start.sh                 Up                                                                      

[root@node1 harbor]# 

4.訪問web頁面

Harbor企業(yè)級私有倉庫

Harbor企業(yè)級私有倉庫

5.使用push上傳鏡像

[root@node1 harbor]# docker login 192.168.8.10

Username: admin

Password: 

[root@node1 harbor]# docker tag busybox 192.168.8.10/tongcheng/busybox    --對本地鏡像打標簽

[root@node1 harbor]# docker push 192.168.8.10/tongcheng/busybox        --上傳鏡像

The push refers to repository [192.168.8.10/tongcheng/busybox]

0b97b1c81a32: Pushed 

latest: digest: sha256:f79f7a10302c402c052973e3fa42be0344ae6453245669783a9e16da3d56d5b4 size: 527

[root@node1 harbor]# 

6.查看鏡像包

Harbor企業(yè)級私有倉庫

分享標題:Harbor企業(yè)級私有倉庫
轉(zhuǎn)載來于:http://chinadenli.net/article20/giooco.html

成都網(wǎng)站建設(shè)公司_創(chuàng)新互聯(lián),為您提供小程序開發(fā)、網(wǎng)站營銷網(wǎng)頁設(shè)計公司、自適應(yīng)網(wǎng)站、網(wǎng)站制作、App開發(fā)

廣告

聲明:本網(wǎng)站發(fā)布的內(nèi)容(圖片、視頻和文字)以用戶投稿、用戶轉(zhuǎn)載內(nèi)容為主,如果涉及侵權(quán)請盡快告知,我們將會在第一時間刪除。文章觀點不代表本網(wǎng)站立場,如需處理請聯(lián)系客服。電話:028-86922220;郵箱:631063699@qq.com。內(nèi)容未經(jīng)允許不得轉(zhuǎn)載,或轉(zhuǎn)載時需注明來源: 創(chuàng)新互聯(lián)

手機網(wǎng)站建設(shè)