harbor 1.4 安装部署
2018-03-30 本文已影响0人
秋幻旎苏
一.环境
cento7.3
二.安装
wget https://storage.googleapis.com/harbor-releases/release-1.4.0/harbor-offline-installer-v1.4.0.tgz
yum install python-pip
pip install docker-compose
tar -xf harbor-offline-installer-v1.4.0.tgz
cd harbor
cp harbor.cfg harbor.cfg.bk
cp common/templates/registry/config.yml common/templates/registry/config.yml.bk
cp docker-compose.yml docker-compose.yml.bk
vim harbor.cfg
image.png
vim docker-compose.yml
image.png
vim common/templates/registry/config.yml
image.png
修改docker 的私有仓库地址
vim /etc/sysconfig/docker
service docker restart
sh ~/harbor/prepare
sh ~/harbor/install.sh