设为首页 收藏本站
查看: 728|回复: 0

[经验分享] ​搭建Harbor企业级docker仓库

[复制链接]

尚未签到

发表于 2019-2-21 09:26:21 | 显示全部楼层 |阅读模式
[Step 0]: checking installation environment ...  

  
Note: docker version: 17.03.1
  

  
Note: docker-compose version: 1.16.1
  

  

  
[Step 1]: preparing environment ...
  
Clearing the configuration file: ./common/config/adminserver/env
  
Clearing the configuration file: ./common/config/ui/env
  
Clearing the configuration file: ./common/config/ui/app.conf
  
Clearing the configuration file: ./common/config/ui/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/app.conf
  
Clearing the configuration file: ./common/config/registry/config.yml
  
Clearing the configuration file: ./common/config/registry/root.crt
  
Clearing the configuration file: ./common/config/nginx/nginx.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/ui/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/app.conf
  
Generated configuration file: ./common/config/ui/app.conf
  
Generated certificate, key file: ./common/config/ui/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 (vmware/harbor-log:v1.2.0)...
  
v1.2.0: Pulling from vmware/harbor-log
  
93b3dcee11d6: Pull complete
  
07d028a1dbdd: Pull complete
  
208723cd598a: Pull complete
  
b876b05989fc: Pull complete
  
12f0e0ef448a: Pull complete
  
Digest: sha256:608e10b7aaac07e10a4cd639d8848aef96daa7dd5c7ebaaf6a7ecd47f903e1f8
  
Status: Downloaded newer image for vmware/harbor-log:v1.2.0
  
Pulling adminserver (vmware/harbor-adminserver:v1.2.0)...
  
v1.2.0: Pulling from vmware/harbor-adminserver
  
93b3dcee11d6: Already exists
  
6ab21236e58b: Pull complete
  
f70b0efff900: Pull complete
  
c5d206b5e184: Pull complete
  
Digest: sha256:aba66ec90fc12fe0814cecc9f647f5d17b41395199821cc7af69db9c0fbe446c
  
Status: Downloaded newer image for vmware/harbor-adminserver:v1.2.0
  
Pulling registry (vmware/registry:2.6.2-photon)...
  
2.6.2-photon: Pulling from vmware/registry
  
93b3dcee11d6: Already exists
  
007fe7635995: Pull complete
  
20d63c99b572: Pull complete
  
2026103b2811: Pull complete
  
ab7a5be79b33: Pull complete
  
11757dc5c642: Pull complete
  
69ab3e15edde: Pull complete
  
Digest: sha256:3cf06cdff00f48e15a5254b6d0370bcb4423dcd158e7f970dc8246893125b032
  
Status: Downloaded newer image for vmware/registry:2.6.2-photon
  
Pulling ui (vmware/harbor-ui:v1.2.0)...
  
v1.2.0: Pulling from vmware/harbor-ui
  
93b3dcee11d6: Already exists
  
6ab21236e58b: Already exists
  
7753f4b55df6: Pull complete
  
a647b33bdf74: Pull complete
  
eb30db926101: Pull complete
  
204d77847826: Pull complete
  
4910a0b56c59: Pull complete
  
e880a4b0031f: Pull complete
  
Digest: sha256:b198d8f2f59515d286bdcf06c7f99c370eb4475e2547495c3e1db8761940646b
  
Status: Downloaded newer image for vmware/harbor-ui:v1.2.0
  
Pulling mysql (vmware/harbor-db:v1.2.0)...
  
v1.2.0: Pulling from vmware/harbor-db
  
df559435c037: Pull complete
  
a6310a57af5d: Pull complete
  
d13d90890144: Pull complete
  
b694d8967a6c: Pull complete
  
a34f6cef56a6: Pull complete
  
3519eec83af5: Pull complete
  
34bae610e56c: Pull complete
  
86a867bebd89: Pull complete
  
3db2d0ac366e: Pull complete
  
c0d307ee295f: Pull complete
  
c5b1b404c5ee: Pull complete
  
14f4a4328366: Pull complete
  
c7fa77b46ec4: Pull complete
  
0cbe2b5669b8: Pull complete
  
Digest: sha256:c10b3555beb6d1c851ae49a4e90ef4296a1ad42bcd1a58ae97e316b034515b6e
  
Status: Downloaded newer image for vmware/harbor-db:v1.2.0
  
Pulling jobservice (vmware/harbor-jobservice:v1.2.0)...
  
v1.2.0: Pulling from vmware/harbor-jobservice
  
93b3dcee11d6: Already exists
  
6ab21236e58b: Already exists
  
64bd0172d071: Pull complete
  
b4f5382f226f: Pull complete
  
Digest: sha256:0692648176c1c87379025b0519036b9f3f1a0eceb2646f17dd40eb143c898d5c
  
Status: Downloaded newer image for vmware/harbor-jobservice:v1.2.0
  
Pulling proxy (vmware/nginx-photon:1.11.13)...
  
1.11.13: Pulling from vmware/nginx-photon
  
93b3dcee11d6: Already exists
  
d2a110a9296e: Pull complete
  
Digest: sha256:9ec5644c667e87bf051e581ce74b2933d3ed469b27862534ba60ccf17b4ff57a
  
Status: Downloaded newer image for vmware/nginx-photon:1.11.13
  
Creating harbor-log ...
  
Creating harbor-log ... done
  
Creating harbor-db ...
  
Creating harbor-adminserver ...
  
Creating registry ...
  
Creating harbor-db
  
Creating registry
  
Creating registry ... done
  
Creating harbor-ui ...
  
Creating harbor-ui ... done
  
Creating nginx ...
  
Creating harbor-jobservice ...
  
Creating harbor-jobservice
  
Creating nginx ... done
  

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

  
Now you should be able to visit the admin portal at http://rgs.unixfbi.com. For more details, please visit https://github.com/vmware/harbor .



运维网声明 1、欢迎大家加入本站运维交流群:群②:261659950 群⑤:202807635 群⑦870801961 群⑧679858003
2、本站所有主题由该帖子作者发表,该帖子作者与运维网享有帖子相关版权
3、所有作品的著作权均归原作者享有,请您和我们一样尊重他人的著作权等合法权益。如果您对作品感到满意,请购买正版
4、禁止制作、复制、发布和传播具有反动、淫秽、色情、暴力、凶杀等内容的信息,一经发现立即删除。若您因此触犯法律,一切后果自负,我们对此不承担任何责任
5、所有资源均系网友上传或者通过网络收集,我们仅提供一个展示、介绍、观摩学习的平台,我们不对其内容的准确性、可靠性、正当性、安全性、合法性等负责,亦不承担任何法律责任
6、所有作品仅供您个人学习、研究或欣赏,不得用于商业或者其他用途,否则,一切后果均由您自己承担,我们对此不承担任何法律责任
7、如涉及侵犯版权等问题,请您及时通知我们,我们将立即采取措施予以解决
8、联系人Email:admin@iyunv.com 网址:www.yunweiku.com

所有资源均系网友上传或者通过网络收集,我们仅提供一个展示、介绍、观摩学习的平台,我们不对其承担任何法律责任,如涉及侵犯版权等问题,请您及时通知我们,我们将立即处理,联系人Email:kefu@iyunv.com,QQ:1061981298 本贴地址:https://www.yunweiku.com/thread-675158-1-1.html 上篇帖子: IBM“认知课堂”如何使用Docker服务于超百万学者 下篇帖子: 跟我一起学docker(12)
您需要登录后才可以回帖 登录 | 立即注册

本版积分规则

扫码加入运维网微信交流群X

扫码加入运维网微信交流群

扫描二维码加入运维网微信交流群,最新一手资源尽在官方微信交流群!快快加入我们吧...

扫描微信二维码查看详情

客服E-mail:kefu@iyunv.com 客服QQ:1061981298


QQ群⑦:运维网交流群⑦ QQ群⑧:运维网交流群⑧ k8s群:运维网kubernetes交流群


提醒:禁止发布任何违反国家法律、法规的言论与图片等内容;本站内容均来自个人观点与网络等信息,非本站认同之观点.


本站大部分资源是网友从网上搜集分享而来,其版权均归原作者及其网站所有,我们尊重他人的合法权益,如有内容侵犯您的合法权益,请及时与我们联系进行核实删除!



合作伙伴: 青云cloud

快速回复 返回顶部 返回列表