```shell wget https://storage.googleapis.com/harbor-releases/release-1.6.0/harbor-offline-installer-v1.6.0.tgz tar -zxvf harbor-offline-installer-v1.6.0.tgz
官方的链接正常无法下载,感谢戴亚同学帮忙。
下载解压后进入解压的文件夹
Harbor配置
解压后目录下生成 harbor.conf 文件,根据需要修改配置文件。
Harbor启动
1 2
./install.sh
1 2 3 4 5 6 7 8 9 10 11 12
/home/zhangwei# docker ps -a CONTAINER ID IMAGE COMMAND CREATED STATUS PORTS NAMES 136373bd5377 goharbor/harbor-jobservice:v1.6.0 "/harbor/start.sh" 2 days ago Up 2 days harbor-jobservice e593d2a724de goharbor/nginx-photon:v1.6.0 "nginx -g 'daemon of…" 2 days ago Up 2 days (healthy) 0.0.0.0:443->443/tcp, 0.0.0.0:4443->4443/tcp, 0.0.0.0:1080->80/tcp nginx f29c2341d237 goharbor/harbor-ui:v1.6.0 "/harbor/start.sh" 2 days ago Up 2 days (healthy) harbor-ui a03a1bab796f goharbor/harbor-adminserver:v1.6.0 "/harbor/start.sh" 2 days ago Up 2 days (healthy) harbor-adminserver c11b5b108311 goharbor/redis-photon:v1.6.0 "docker-entrypoint.s…" 2 days ago Up 2 days 6379/tcp redis 6d95f6c0aaf3 goharbor/harbor-db:v1.6.0 "/entrypoint.sh post…" 2 days ago Up 2 days (healthy) 5432/tcp harbor-db 2fa99bb3d06c goharbor/registry-photon:v2.6.2-v1.6.0 "/entrypoint.sh /etc…" 2 days ago Up 2 days (healthy) 5000/tcp registry da21879d2dd1 goharbor/harbor-log:v1.6.0 "/bin/sh -c /usr/loc…" 2 days ago Up 2 days (healthy) 127.0.0.1:1514->10514/tcp harbor-log