15.1. docker私有仓库构建¶
github: habor
15.1.1. habor安装¶
[root@centos-151 harbor]# yum install docker-compose docker
[root@centos-151 ~]# wget https://storage.googleapis.com/harbor-releases/release-1.4.0/harbor-offline-installer-v1.4.0.tgz
[root@centos-151 ~]# tar xf harbor-offline-installer-v1.4.0.tgz
[root@centos-151 harbor]# vim harbor.cfg
# 修改如下4行
hostname = registry.linuxpanda.tech
customize_crt = off
harbor_admin_password = harbor
db_password = harbor
[root@centos-151 harbor]# ./install.sh