一、下載安裝
? ? ? ? 1.1、harbor 可以直接從 github 上下載:Releases · goharbor/harbor · GitHub
這里選擇 v2.10.0 的版本
wget https://github.com/goharbor/harbor/releases/download/v2.10.0/harbor-offline-installer-v2.10.0.tgz
? ? ? ? 1.2、解壓
tar zxvf harbor-offline-installer-v2.10.0.tgz
?
? ? ? ? 拷貝模板
? ? ? ? 1.3、執行安裝命令-在harbor 目錄中執行安裝命令
./install.sh
?二、測試訪問
?
三、修改使用 http 訪問
? ? ? ?修改文件:
vim /etc/docker/daemon.json
{"registry-mirrors": ["https://6pq6hn9f.mirror.aliyuncs.com"],"insecure-registries": ["192.168.1.10"]
}
?