注册 登录
  • 欢迎访问开心洋葱网站,在线教程,推荐使用最新版火狐浏览器和Chrome浏览器访问本网站,欢迎加入开心洋葱 QQ群
  • 为方便开心用户,开心洋葱官网已经开启复制功能!
  • 欢迎访问开心洋葱网站,手机也能访问哦~欢迎加入开心洋葱多维思维学习平台 QQ群
  • 如果您觉得本站非常有看点,那么赶紧使用Ctrl+D 收藏开心洋葱吧~~~~~~~~~~~~~!
  • 由于近期流量激增,小站的ECS没能经的起亲们的访问,本站依然没有盈利,如果各位看如果觉着文字不错,还请看官给小站打个赏~~~~~~~~~~~~~!

Harbor 离线安装信息记录-docker私有仓

大数据 开心洋葱 2487次浏览 已收录 0个评论 手机上查看

安装docker-compose

yum install python-pip;pip install docker-compose

下载Harbor离线包
https://github.com/vmware/harbor/releases

[[email protected] harbor]# systemctl restart docker
[[email protected] harbor]# ./install.sh

[Step 0]: checking installation environment …

Note: docker version: 1.13.1

Note: docker-compose version: 1.23.2

[Step 1]: loading Harbor images …
ae18db924eef: Loading layer [==================================================>] 32.92 MB/32.92 MB
1c06074dba9c: Loading layer [==================================================>] 8.955 MB/8.955 MB
7a719a639e34: Loading layer [==================================================>] 3.072 kB/3.072 kB
49f7bca05da9: Loading layer [==================================================>] 2.56 kB/2.56 kB
e86d69bef97e: Loading layer [==================================================>] 2.56 kB/2.56 kB
81e122d773f5: Loading layer [==================================================>] 2.048 kB/2.048 kB
5fe5adb8cf31: Loading layer [==================================================>] 22.8 MB/22.8 MB
d760045419e4: Loading layer [==================================================>] 22.8 MB/22.8 MB
Loaded image: goharbor/registry-photon:v2.6.2-v1.7.1
c0f668a21621: Loading layer [==================================================>] 133.2 MB/133.2 MB
f8cb0bf39ff2: Loading layer [==================================================>] 684 MB/684 MB
444ac38a117b: Loading layer [==================================================>] 7.68 kB/7.68 kB
2e16f24ac8bc: Loading layer [==================================================>] 212 kB/212 kB
Loaded image: goharbor/harbor-migrator:v1.7.1
fa2dcaba747a: Loading layer [==================================================>] 8.955 MB/8.955 MB
eeaaf4c760eb: Loading layer [==================================================>] 15.6 MB/15.6 MB
98ffd6175b61: Loading layer [==================================================>] 18.94 kB/18.94 kB
fc1db6c4f652: Loading layer [==================================================>] 15.6 MB/15.6 MB
Loaded image: goharbor/harbor-adminserver:v1.7.1
8d55a6a034d6: Loading layer [==================================================>] 8.955 MB/8.955 MB
01ef68a17913: Loading layer [==================================================>] 27.24 MB/27.24 MB
f9258cfa4b48: Loading layer [==================================================>] 5.632 kB/5.632 kB
dcf5c61ede76: Loading layer [==================================================>] 27.24 MB/27.24 MB
Loaded image: goharbor/harbor-core:v1.7.1
1f65d10893c9: Loading layer [==================================================>] 50.39 MB/50.39 MB
358f40be2091: Loading layer [==================================================>] 3.584 kB/3.584 kB
c7f3ef058d0b: Loading layer [==================================================>] 3.072 kB/3.072 kB
154caf7c7173: Loading layer [==================================================>] 4.096 kB/4.096 kB
42c7764aa777: Loading layer [==================================================>] 3.584 kB/3.584 kB
023f3a96f324: Loading layer [==================================================>] 10.24 kB/10.24 kB
Loaded image: goharbor/harbor-log:v1.7.1
a1b528067504: Loading layer [==================================================>] 8.955 MB/8.955 MB
2d3d34f3ba5b: Loading layer [==================================================>] 21.51 MB/21.51 MB
a5da70777097: Loading layer [==================================================>] 21.51 MB/21.51 MB
Loaded image: goharbor/harbor-jobservice:v1.7.1
ab31dfc84e9d: Loading layer [==================================================>] 8.954 MB/8.954 MB
b130423af762: Loading layer [==================================================>] 13.43 MB/13.43 MB
357c059d0598: Loading layer [==================================================>] 17.3 MB/17.3 MB
fabc6edfac55: Loading layer [==================================================>] 11.26 kB/11.26 kB
cfaa3b5d445a: Loading layer [==================================================>] 3.072 kB/3.072 kB
12c73a4b2c7a: Loading layer [==================================================>] 30.72 MB/30.72 MB
Loaded image: goharbor/notary-server-photon:v0.6.1-v1.7.1
50a6467bd619: Loading layer [==================================================>] 113 MB/113 MB
6ae61fc91943: Loading layer [==================================================>] 11.46 MB/11.46 MB
5c840c272f78: Loading layer [==================================================>] 2.048 kB/2.048 kB
077d16ebcba8: Loading layer [==================================================>] 48.13 kB/48.13 kB
b822f5ff7858: Loading layer [==================================================>] 3.072 kB/3.072 kB
4548140152fd: Loading layer [==================================================>] 11.51 MB/11.51 MB
Loaded image: goharbor/clair-photon:v2.0.7-v1.7.1
232024be30e3: Loading layer [==================================================>] 3.39 MB/3.39 MB
a73624ae3fad: Loading layer [==================================================>] 4.721 MB/4.721 MB
96b8c5c532c3: Loading layer [==================================================>] 3.584 kB/3.584 kB
Loaded image: goharbor/harbor-portal:v1.7.1
e2fd12afe6e8: Loading layer [==================================================>] 63.31 MB/63.31 MB
e973513bcb58: Loading layer [==================================================>] 40.74 MB/40.74 MB
4f45af643b2b: Loading layer [==================================================>] 6.656 kB/6.656 kB
54a84094f024: Loading layer [==================================================>] 2.048 kB/2.048 kB
2d78cf8a687b: Loading layer [==================================================>] 7.68 kB/7.68 kB
e96067b83a72: Loading layer [==================================================>] 2.56 kB/2.56 kB
38a7d304147f: Loading layer [==================================================>] 2.56 kB/2.56 kB
a36c0cb6a35a: Loading layer [==================================================>] 2.56 kB/2.56 kB
Loaded image: goharbor/harbor-db:v1.7.1
b0c31ad64c85: Loading layer [==================================================>] 65.01 MB/65.01 MB
22fbab41769e: Loading layer [==================================================>] 3.072 kB/3.072 kB
7f28bf5373b2: Loading layer [==================================================>] 59.9 kB/59.9 kB
abb9969cff2a: Loading layer [==================================================>] 61.95 kB/61.95 kB
Loaded image: goharbor/redis-photon:v1.7.1
933cd9a15fc5: Loading layer [==================================================>] 3.39 MB/3.39 MB
Loaded image: goharbor/nginx-photon:v1.7.1
6ee16a137af2: Loading layer [==================================================>] 8.955 MB/8.955 MB
954443cb7d20: Loading layer [==================================================>] 22.8 MB/22.8 MB
302a998137db: Loading layer [==================================================>] 3.072 kB/3.072 kB
e342723aef9b: Loading layer [==================================================>] 7.465 MB/7.465 MB
4eeb61ed730b: Loading layer [==================================================>] 30.26 MB/30.26 MB
Loaded image: goharbor/harbor-registryctl:v1.7.1
5b40d957fafd: Loading layer [==================================================>] 12.11 MB/12.11 MB
63489681dd6c: Loading layer [==================================================>] 17.3 MB/17.3 MB
696209dcd336: Loading layer [==================================================>] 11.26 kB/11.26 kB
8dc53997aa1f: Loading layer [==================================================>] 3.072 kB/3.072 kB
cb6d560a9958: Loading layer [==================================================>] 29.41 MB/29.41 MB
Loaded image: goharbor/notary-signer-photon:v0.6.1-v1.7.1
dc1e16790c89: Loading layer [==================================================>] 8.96 MB/8.96 MB
046c7e7a0100: Loading layer [==================================================>] 35.08 MB/35.08 MB
8c8428e3d6c6: Loading layer [==================================================>] 2.048 kB/2.048 kB
ebb477ee35a2: Loading layer [==================================================>] 3.072 kB/3.072 kB
19636f39e29d: Loading layer [==================================================>] 35.08 MB/35.08 MB
Loaded image: goharbor/chartmuseum-photon:v0.7.1-v1.7.1

[Step 2]: preparing environment …
Clearing the configuration file: ./common/config/adminserver/env
Clearing the configuration file: ./common/config/core/env
Clearing the configuration file: ./common/config/core/app.conf
Clearing the configuration file: ./common/config/core/private_key.pem
Clearing the configuration file: ./common/config/db/env
Clearing the configuration file: ./common/config/jobservice/env
Clearing the configuration file: ./common/config/jobservice/config.yml
Clearing the configuration file: ./common/config/registry/config.yml
Clearing the configuration file: ./common/config/registry/root.crt
Clearing the configuration file: ./common/config/registryctl/env
Clearing the configuration file: ./common/config/registryctl/config.yml
Clearing the configuration file: ./common/config/nginx/nginx.conf
Clearing the configuration file: ./common/config/log/logrotate.conf
loaded secret from 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 3]: checking existing instance of Harbor

[Step 4]: starting Harbor
Creating network "harbor_harbor" with the default driver
Creating harbor-log … done
Creating registryctl … done
Creating harbor-adminserver … done
Creating harbor-db … done
Creating registry … done
Creating redis … done
Creating harbor-core … done
Creating harbor-jobservice … done
Creating harbor-portal … done
Creating nginx … done

✔ —-Harbor has been installed and started successfully.—-

Now you should be able to visit the admin portal at http://docker.yt.io.
For more details, please visit https://github.com/goharbor/harbor .


开心洋葱 , 版权所有丨如未注明 , 均为原创丨未经授权请勿修改 , 转载请注明Harbor 离线安装信息记录-docker私有仓
喜欢 (0)
[开心洋葱]
分享 (0)
关于作者:
开心洋葱,开心洋葱头,水墨

您必须 登录 才能发表评论!

……