docker harbor安装失败
2021/5/1 10:27:30
本文主要是介绍docker harbor安装失败,对大家解决编程问题具有一定的参考价值,需要的程序猿们随着小编来一起学习吧!
解决办法:
[root@master harbor]# iptables -F [root@master harbor]# iptables -Z [root@master harbor]# iptables -X [root@master harbor]# iptables-save [root@master harbor]# systemctl stop firewalld [root@master harbor]# systemctl daemon-reload [root@master harbor]# systemctl restart docker [root@master harbor]# ./install.sh --with-notary --with-clair [Step 0]: checking installation environment ... Note: docker version: 18.09.6 Note: docker-compose version: 1.25.0 [Step 1]: loading Harbor images ... Loaded image: vmware/harbor-adminserver:v1.5.3 Loaded image: vmware/harbor-db:v1.5.3 Loaded image: vmware/harbor-jobservice:v1.5.3 Loaded image: vmware/redis-photon:v1.5.3 Loaded image: photon:1.0 Loaded image: vmware/notary-signer-photon:v0.5.1-v1.5.3 Loaded image: vmware/mariadb-photon:v1.5.3 Loaded image: vmware/postgresql-photon:v1.5.3 Loaded image: vmware/harbor-ui:v1.5.3 Loaded image: vmware/harbor-log:v1.5.3 Loaded image: vmware/nginx-photon:v1.5.3 Loaded image: vmware/registry-photon:v2.6.2-v1.5.3 Loaded image: vmware/notary-server-photon:v0.5.1-v1.5.3 Loaded image: vmware/harbor-migrator:v1.5.0 Loaded image: vmware/clair-photon:v2.0.5-v1.5.3 [Step 2]: 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/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/nginx/conf.d/notary.upstream.conf Clearing the configuration file: ./common/config/nginx/conf.d/notary.server.conf Clearing the configuration file: ./common/config/nginx/cert/www.yidaoyun.com.crt Clearing the configuration file: ./common/config/nginx/cert/www.yidaoyun.com.key Clearing the configuration file: ./common/config/nginx/nginx.conf Clearing the configuration file: ./common/config/log/logrotate.conf Clearing the configuration file: ./common/config/notary/mysql-initdb.d/initial-notarysigner.sql Clearing the configuration file: ./common/config/notary/mysql-initdb.d/initial-notaryserver.sql Clearing the configuration file: ./common/config/notary/notary-signer.crt Clearing the configuration file: ./common/config/notary/notary-signer.key Clearing the configuration file: ./common/config/notary/notary-signer-ca.crt Clearing the configuration file: ./common/config/notary/root.crt Clearing the configuration file: ./common/config/notary/signer-config.json Clearing the configuration file: ./common/config/notary/server-config.json Clearing the configuration file: ./common/config/notary/signer_env Clearing the configuration file: ./common/config/clair/postgresql-init.d/README.md Clearing the configuration file: ./common/config/clair/postgres_env Clearing the configuration file: ./common/config/clair/config.yaml Clearing the configuration file: ./common/config/clair/clair_env 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/config.yml Generated configuration file: ./common/config/log/logrotate.conf Generated configuration file: ./common/config/jobservice/config.yml 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 Copying sql file for notary DB Generated certificate, key file: ./cert_tmp/notary-signer-ca.key, cert file: ./cert_tmp/notary-signer-ca.crt Generated certificate, key file: ./cert_tmp/notary-signer.key, cert file: ./cert_tmp/notary-signer.crt Copying certs for notary signer Copying notary signer configuration file Generated configuration file: ./common/config/notary/server-config.json Copying nginx configuration file for notary Generated configuration file: ./common/config/nginx/conf.d/notary.server.conf loaded secret from file: /data/defaultalias Generated configuration file: ./common/config/notary/signer_env Copying offline data file for clair DB Generated configuration file: ./common/config/clair/postgres_env Generated configuration file: ./common/config/clair/config.yaml Generated configuration file: ./common/config/clair/clair_env 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 network "harbor_harbor-clair" with the default driver Creating network "harbor_notary-mdb" with the default driver Creating network "harbor_notary-sig" with the default driver Creating network "harbor_harbor-notary" with the default driver Creating harbor-log ... done Creating harbor-adminserver ... done Creating notary-db ... done Creating harbor-db ... done Creating registry ... done Creating clair-db ... done Creating redis ... done Creating notary-signer ... done Creating harbor-ui ... done Creating clair ... done Creating notary-server ... done Creating nginx ... done Creating harbor-jobservice ... done ✔ ----Harbor has been installed and started successfully.---- Now you should be able to visit the admin portal at https://192.168.100.20. For more details, please visit https://github.com/vmware/harbor .
这篇关于docker harbor安装失败的文章就介绍到这儿,希望我们推荐的文章对大家有所帮助,也希望大家多多支持为之网!
- 2024-11-19Docker-Compose容器集群化项目实战:新手入门指南
- 2024-11-19Docker镜像仓库项目实战:新手入门教程
- 2024-11-19Docker容器化部署项目实战:新手入门教程
- 2024-11-19Docker-Compose容器集群化资料入门教程
- 2024-11-19Docker镜像仓库资料详解:新手入门教程
- 2024-11-19Docker容器化部署资料:新手入门指南
- 2024-11-19Docker-Compose容器集群化教程:从入门到实践
- 2024-11-19Docker镜像仓库教程:新手入门指南
- 2024-11-19Docker容器化部署教程:初学者指南
- 2024-11-18Docker-Compose容器集群化入门教程