CentOS Linux release 7.4.1708 (Core)
升级了内核4.4.202-1.el7.elrepo.x86_64

安装docker-compose
docker-compose版本地址

wget https://github.com/docker/compose/releases/download/1.25.0/docker-compose-Linux-x86_64

[root@liu ~]# docker version
Client: Docker Engine - Community
 Version:           19.03.4
mv docker-compose-Linux-x86_64 /usr/local/bin/
 chmod +x docker-compose-Linux-x86_64

安装harbor
github地址下载harbor offline 包并解压(600多m)

wget https://github.com/goharbor/harbor/releases/download/v1.9.3/harbor-offline-installer-v1.9.3.tgz

harborv1.9.3私有仓库安装_第1张图片

修改harbor.yml配置文件
运行./install.sh
harborv1.9.3私有仓库安装_第2张图片
根据配置文件地址进行访问
harborv1.9.3私有仓库安装_第3张图片
harborv1.9.3私有仓库安装_第4张图片