2-2.3 部署docker镜像私有仓库harbor
2.3.1 部署环境
环境选择在 pg60-200.k8s.host.com
虚机上部署
2.3.2 下载安装二进制软件包
# GitHub仓库地址:https://github.com/goharbor/harbor shell> cd /usr/local/src shell> wget http://dlsw.91donkey.com/software/source/k8s/harbor-offline-installer-v1.8.6.tgz shell> tar zxf harbor-offline-installer-v1.8.6.tgz -C /opt/
2.3.3 配置
- 编辑 /opt/harbor/harbor.yml 文件,修改下面的参数值:
hostname: harbor.k8s.91donkey.com data_volume: /export/harbor/data location: /export/harbor/log
2.3.4 安装docker-compose
shell> yum -y install docker-compose shell> rpm -qa docker-compose docker-compose-1.18.0-4.el7.noarch
2.3.5 安装harbor
shell> mkdir -p /export/harbor/{data,log} shell> cd /opt/harbor shell> ./install.sh
2.3.6 检查harbor启动情况
2.3.7 浏览器访问harbor
- 访问地址:http://harbor.k8s.91donkey.com
- 默认登录用户名:admin
- 默认登录的密码:Harbor12345
相关推荐
王道革 2020-11-25
魅惑青花瓷 2020-11-11
lihongtai 2020-11-09
TaoTaoFu 2020-11-06
liaochaowu 2020-11-16
ChlatZed 2020-11-11
xysoul 2020-11-03
changecan 2020-09-22
newisI 2020-09-01
链块学院 2020-09-09
lihy0 2020-09-07
fearlessxjdx 2020-09-04
ChlatZed 2020-08-23
changecan 2020-11-19
bwyyziq 2020-11-22
pigsmall 2020-11-19
helloWorldAndYou 2020-11-16
nginxs 2020-11-14
红石丶 2020-11-13