Harbor 介绍
安装 Harbor(189 机器)
安装 Docker Compose
1、在 docker-compose 官网中找到最新版本
https://github.com/docker/compose/releases/
cd /usr/software
wget https://github.com/docker/compose/releases/download/1.29.1/docker-compose-Linux-x86_64 -O /usr/local/bin/docker-compose
sudo chmod +x /usr/local/bin/docker-compose
sudo ln -s /usr/local/bin/docker-compose /usr/bin/docker-compose
docker-compose --version
# docker-compose version 1.29.1, build c34c88b2
2、安装 harbor
https://github.com/goharbor/harbor/releases
cd /usr/software
# 如果 wget 速度很慢,可以在页面上下载下来,通过 ftp 传到服务器的 /usr/software 中
wget https://github.com/goharbor/harbor/releases/download/v2.1.5/harbor-offline-installer-v2.1.5.tgz
tar -zxvf harbor-offline-installer-v2.1.5.tgz -C /usr/local/
3、配置 harbor
cd /usr/local/harbor