Harbor 2.3.0 安装报错如下:

安装错误:

[Step 5]: starting Harbor ...
Creating network "harbor_harbor" with the default driver
Creating harbor-log ... done
Creating harbor-portal ... 
Creating harbor-db     ... 
Creating registry      ... error
Creating harbor-portal ... error
Creating registryctl   ... 

ERROR: for registry  Cannot start service registry: failed to create task for container: failed to initialize logging driver: 
Creating harbor-db     ... error

ERROR: for harbor-portal  Cannot start service portal: failed to create task for container: failed to initialize logging driver: dial tcp [::1]:1514: connect: connection refused

Creating redis         ... errorr: dial tcp [::1]:1514: connect: connection refused

ERROR: for redis  Cannot start service redis: failed to create task for container: failed to initialize logging driver: dial t
Creating registryctl   ... error

ERROR: for registryctl  Cannot start service registryctl: failed to create task for container: failed to initialize logging driver: dial tcp [::1]:1514: connect: connection refused

ERROR: for registry  Cannot start service registry: failed to create task for container: failed to initialize logging driver: dial tcp [::1]:1514: connect: connection refused

ERROR: for portal  Cannot start service portal: failed to create task for container: failed to initialize logging driver: dial tcp [::1]:1514: connect: connection refused

ERROR: for postgresql  Cannot start service postgresql: failed to create task for container: failed to initialize logging driver: dial tcp [::1]:1514: connect: connection refused

ERROR: for redis  Cannot start service redis: failed to create task for container: failed to initialize logging driver: dial tcp [::1]:1514: connect: connection refused

ERROR: for registryctl  Cannot start service registryctl: failed to create task for container: failed to initialize logging driver: dial tcp [::1]:1514: connect: connection refused
ERROR: Encountered errors while bringing up the project.

解决方法:

[root@harbor harbor]# vim /etc/rsyslog.conf

取消以下两行前的注释,保存退出

$ModLoad imtcp

$InputTCPServerRun 1514

重启rsyslog:

[root@harbor harbor]# systemctl restart rsyslog.service

再重新安装harbor

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

[Step 5]: starting Harbor ...
Creating network "harbor_harbor" with the default driver
Creating harbor-log ... done
Creating harbor-portal ... done
Creating harbor-db     ... done
Creating redis         ... done
Creating registryctl   ... done
Creating registry      ... done
Creating harbor-core   ... done
Creating harbor-jobservice ... done
Creating nginx             ... done
✔ ----Harbor has been installed and started successfully.----
 

GitHub 加速计划 / ha / harbor
23.24 K
4.68 K
下载
Harbor 是一个开源的容器镜像仓库,用于存储和管理 Docker 镜像和其他容器镜像。 * 容器镜像仓库、存储和管理 Docker 镜像和其他容器镜像 * 有什么特点:支持多种镜像格式、易于使用、安全性和访问控制
最近提交(Master分支:2 个月前 )
91082af3 since we wil not ship the asc files since v2.12, it needs to remove the stesp to handle signatures. Signed-off-by: wang yan <wangyan@vmware.com> 2 天前
2ed5c1eb Updated untranslated French strings Signed-off-by: tostt <tostt@users.noreply.github.com> Co-authored-by: Wang Yan <wangyan@vmware.com> 5 天前
Logo

旨在为数千万中国开发者提供一个无缝且高效的云端环境,以支持学习、使用和贡献开源项目。

更多推荐