环境:
阿里云ECS CentOS 7.3 64位
1. 安装docker
查看文章: https://blog.csdn.net/lettuce_/article/details/103809299
2. 安装docker-compose
yum install docker-compose
3. github下载 harbor
https://github.com/goharbor/harbor/releases

解压:
tar zxvf harbor-offline-installer-v1.9.4.tgz
3. 修改配置文件
vi harbor.yml (有些资料说是:harbor.cfg)
#修改hosts
hostname: xxx.xxx.xxx (建议填写公网ip 或 域名)
#修改访问端口号
port: 8088
#修改登录的admin密码
harbor_admin_password: xxxx
4. 执行 ./prepare&

本文介绍了在阿里云ECS CentOS 7.3环境中,如何安装docker和docker-compose,然后详细阐述了下载、配置、安装Harbor的过程,并提供了遇到问题时的解决方案,如离线安装docker和docker-compose的方法。最后,文章提到了Harbor的默认登录凭证。
736

被折叠的 条评论
为什么被折叠?



