cd /home/nucleus-oc/2231/ wget https://github.com/vmware/harbor/releases/download/v1.1.2/harbor-offline-installer-v1.1.2.tgz tar xf harbor-offline-installer-v1.1.2.tgz
修改配置文件docker-compose.yml
1 2 3 4
cd /home/nucleus-oc/2231/harbor/ sed -e 's@ /data/@ /home/nucleus-oc/harbor/@' \ -e 's@ /var/log/harbor/@ /home/nucleus-oc/harbor/logs/@' \ -i docker-compose.yml