Docker Harbor的安装配置
1.先安装docker-compose
curl -L http://github.com/docker/compose/releases/download/1.21.2/docker-compose-$(uname -s)-$(uname -m) -o /usr/local/bin/docker-compose
2.添加执行权限
chmod +x /usr/local/bin/docker-compose
3.下载harbor
wget https://github.com/vmware/harbor/releases/download/v1.9.2/harbor-online-installer-v1.9.2.tgz
4.解压
tar -xzf harbor-online-installer-v1.9.2.tgz
5.创建harbor目录
mkdir /opt/harbor
6.移动harbor到指定目录
mv harbor/* /opt/harbor/
7.配置ip地址端口号
vim harbor.yml
8.启动harbor
./prepare
./install.sh
9.登录harbor
初始用户名:admin 密码:Harbor12345