11.4. docker私有仓库构建

github:

habor

habor是

11.4.1. habor安装

 1[root@centos-151 harbor]# yum install docker-compose docker
 2[root@centos-151 ~]# wget https://storage.googleapis.com/harbor-releases/release-1.4.0/harbor-offline-installer-v1.4.0.tgz
 3[root@centos-151 ~]# tar xf harbor-offline-installer-v1.4.0.tgz
 4[root@centos-151 harbor]# vim harbor.cfg
 5# 修改如下4行
 6hostname = registry.linuxpanda.tech
 7customize_crt = off
 8harbor_admin_password =  harbor
 9db_password = harbor
10
11[root@centos-151 harbor]# ./install.sh

11.4.2. web访问