一、下载安装包https://github.com/goharbor/harbor/releases
wget https://storage.googleapis.com/harbor-releases/release-1.7.0/harbor-offline-installer-v1.7.1.tgz
二、解压包
tar zxvf harbor-offline-installer-v1.7.1.tgz
三、修改配置文件harbor.cfg
四、修改/etc/docker/daemon.json
{
"insecure-registries" : ["myregistrydomain.com:5000"]
}