安装docker编排工具 Docker Compose
国内下载源
curl -L https://get.daocloud.io/docker/compose/releases/download/1.25.1/docker-compose-`uname -s`-`uname -m` -o /usr/local/bin/docker-compose
chmod +x /usr/local/bin/docker-compose
查看
docker-compose version
1.23.2, build 1110ad01
docker-py version: 3.6.0
CPython version: 3.6.7
OpenSSL version: OpenSSL 1.1.0f 25 May 2017
下载harbor
wget -c
https://github.com/goharbor/harbor/releases/download/v2.0.2/harbor-offline-installer-v2.0.2.tgz
解压
cd /usr/local/
tar xf harbor-offline-installer-v2.0.2.tgz -C
cd /usr/local/harbor/
cp harbor.yml.tmpl harbor.yml
vim harbor.yml
编写
./install 开始安装
完成后查看
去网页登录 ip为本机ip加端口
密码配置文件里有