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

posted @ 2020-05-27 17:25  渡边灬  阅读(1414)  评论(0编辑  收藏  举报
/* 看板娘 */