harbor在谷歌云上搭建 日志

参考:https://github.com/vmware/harbor/blob/master/docs/installation_guide.md

日志:

 

[root@instance-1 harbor]# ./install.sh 

[Step 0]: checking installation environment ...

Note: docker version: 17.11.0

Note: docker-compose version: 1.9.0

[Step 1]: loading Harbor images ...
454c81edbd3b: Loading layer [==================================================>]  135.2MB/135.2MB
bab81b4d4981: Loading layer [==================================================>]  463.7MB/463.7MB
5735a75e540c: Loading layer [==================================================>]  9.216kB/9.216kB
44394f38b0c9: Loading layer [==================================================>]  9.216kB/9.216kB
13775ef23512: Loading layer [==================================================>]   7.68kB/7.68kB
9d8d34eb8c97: Loading layer [==================================================>]  1.536kB/1.536kB
Loaded image: vmware/mariadb-photon:10.2.10
c5c1f3d43c8b: Loading layer [==================================================>]  135.4MB/135.4MB
23b4be1f9334: Loading layer [==================================================>]  23.21MB/23.21MB
fe27b1878deb: Loading layer [==================================================>]  7.071MB/7.071MB
476a5d212def: Loading layer [==================================================>]  7.071MB/7.071MB
Loaded image: vmware/harbor-adminserver:v1.3.0-rc2
7280dd18d4e6: Loading layer [==================================================>]  90.74MB/90.74MB
29de07437cda: Loading layer [==================================================>]  2.048kB/2.048kB
bf435791a668: Loading layer [==================================================>]  2.048kB/2.048kB
ea6923ed1a8e: Loading layer [==================================================>]  2.048kB/2.048kB
b39969acb12a: Loading layer [==================================================>]  3.072kB/3.072kB
a07efc1d5b07: Loading layer [==================================================>]   22.8MB/22.8MB
Loaded image: vmware/registry:2.6.2-photon
Loaded image: vmware/photon:1.0
84169e929565: Loading layer [==================================================>]  23.21MB/23.21MB
bbaf55061ae1: Loading layer [==================================================>]   22.7MB/22.7MB
cc9505e40fde: Loading layer [==================================================>]  7.168kB/7.168kB
3dc6f7e2c985: Loading layer [==================================================>]   5.38MB/5.38MB
a2020d46e910: Loading layer [==================================================>]  22.69MB/22.69MB
Loaded image: vmware/harbor-ui:v1.3.0-rc2
dea6f0f65963: Loading layer [==================================================>]  72.99MB/72.99MB
02d83cfae031: Loading layer [==================================================>]  3.584kB/3.584kB
c9f53cafe8d4: Loading layer [==================================================>]  3.072kB/3.072kB
662cd2211cba: Loading layer [==================================================>]  4.096kB/4.096kB
e1b8c10672dd: Loading layer [==================================================>]  3.584kB/3.584kB
49e39b576db1: Loading layer [==================================================>]  10.24kB/10.24kB
Loaded image: vmware/harbor-log:v1.3.0-rc2
11a7546bc950: Loading layer [==================================================>]  90.74MB/90.74MB
cd2cb03dfead: Loading layer [==================================================>]  12.16MB/12.16MB
fdcb5fa28b07: Loading layer [==================================================>]   17.3MB/17.3MB
eef410f82bbe: Loading layer [==================================================>]  15.87kB/15.87kB
938e5e2a4bad: Loading layer [==================================================>]  3.072kB/3.072kB
558c91f2870a: Loading layer [==================================================>]  3.072kB/3.072kB
Loaded image: vmware/notary-photon:server-0.5.1
418e636d0b27: Loading layer [==================================================>]  161.5MB/161.5MB
fb804e98cb47: Loading layer [==================================================>]  6.656kB/6.656kB
d961645df25c: Loading layer [==================================================>]  6.656kB/6.656kB
Loaded image: vmware/postgresql:9.6.5-photon
e99db1275091: Loading layer [==================================================>]  395.4MB/395.4MB
051e4ee23882: Loading layer [==================================================>]  9.216kB/9.216kB
6cca4437b6f6: Loading layer [==================================================>]  9.216kB/9.216kB
1d48fc08c8bc: Loading layer [==================================================>]   7.68kB/7.68kB
0419724fd942: Loading layer [==================================================>]  1.536kB/1.536kB
92ce53616a73: Loading layer [==================================================>]  599.2MB/599.2MB
2004244b53a2: Loading layer [==================================================>]  74.24kB/74.24kB
Loaded image: vmware/harbor-db-migrator:1.3
0e1b40dbb3d2: Loading layer [==================================================>]  10.95MB/10.95MB
58127bdab8e5: Loading layer [==================================================>]   17.3MB/17.3MB
2e3e9ac4492d: Loading layer [==================================================>]  15.87kB/15.87kB
bd6c57401b0f: Loading layer [==================================================>]  3.072kB/3.072kB
08a6f4315b6a: Loading layer [==================================================>]  3.072kB/3.072kB
Loaded image: vmware/notary-photon:signer-0.5.1
7b9d4bb4a97a: Loading layer [==================================================>]  221.3MB/221.3MB
bf09be2fb717: Loading layer [==================================================>]  10.75MB/10.75MB
e58dd96cb442: Loading layer [==================================================>]  2.048kB/2.048kB
ee0b77dfb8f1: Loading layer [==================================================>]  48.13kB/48.13kB
ed57bf8fb48c: Loading layer [==================================================>]   10.8MB/10.8MB
Loaded image: vmware/clair:v2.0.1-photon
999a98d8ec5d: Loading layer [==================================================>]  9.216kB/9.216kB
7fa9b775a2b7: Loading layer [==================================================>]   2.56kB/2.56kB
c6267a9fa652: Loading layer [==================================================>]  3.072kB/3.072kB
Loaded image: vmware/harbor-db:v1.3.0-rc2
a08e3f54f8dc: Loading layer [==================================================>]  23.21MB/23.21MB
6b31471dd46c: Loading layer [==================================================>]  18.33MB/18.33MB
0a73f18405d7: Loading layer [==================================================>]  18.33MB/18.33MB
Loaded image: vmware/harbor-jobservice:v1.3.0-rc2
cd0c2ef5af40: Loading layer [==================================================>]  72.46MB/72.46MB
Loaded image: vmware/nginx-photon:1.11.13


[Step 2]: 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/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/log/logrotate.conf
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 3]: checking existing instance of Harbor ...
[Step 4]: starting Harbor ...
Creating network "harbor_harbor" with the default driver
Creating harbor-log
Creating harbor-db
Creating harbor-adminserver
Creating registry
Creating harbor-ui
Creating nginx
Creating harbor-jobservice
ERROR: for proxy  Cannot start service proxy: driver failed programming external connectivity on endpoint nginx (0b
9515eb7c399f495fa9a5ac16563824ba2275958babb93c024043bb00bbd3f5): Error starting userland proxy: listen tcp 0.0.0.0:
443: bind: address already in use
ERROR: Encountered errors while bringing up the project.

 

[root@instance-1 harbor]# ps -ef | grep nginx
root     11571     1  0 Dec08 ?        00:00:00 nginx: master process nginx
nginx    25437 11571  0 02:31 ?        00:00:00 nginx: worker process
root     28387 20504  0 02:41 pts/2    00:00:00 grep --color=auto nginx
[root@instance-1 harbor]# kill 11571
[root@instance-1 harbor]# kill 25437
-bash: kill: (25437) - No such process
[root@instance-1 harbor]# ps -ef | grep nginx
root     28508 20504  0 02:42 pts/2    00:00:00 grep --color=auto nginx
[root@instance-1 harbor]# docker-compose start
Starting log ... done
Starting adminserver ... done
Starting registry ... done
Starting ui ... done
Starting mysql ... done
Starting jobservice ... done
Starting proxy ... done
[root@instance-1 harbor]# 

 

posted @ 2017-12-09 11:41 阿牛 阅读(...) 评论(...) 编辑 收藏