備注:最低配置2核4G內存
安裝docker-ce ,安裝docker-compose
下載harbor1.5版本
更配置文件
[root@harbor harbor]# ll
總用量 854960
drwxr-xr-x. 3 root root 23 10月 5 16:45 common
-rw-r--r--. 1 root root 1185 5月 2 2018 docker-compose.clair.yml
-rw-r--r--. 1 root root 1725 5月 2 2018 docker-compose.notary.yml
-rw-r--r--. 1 root root 3596 5月 2 2018 docker-compose.yml
drwxr-xr-x. 3 root root 156 5月 2 2018 ha
-rw-r--r--. 1 root root 6686 10月 5 17:09 harbor.cfg
-rw-r--r--. 1 root root 875401338 5月 2 2018 harbor.v1.5.0.tar.gz
-rwxr-xr-x. 1 root root 5773 5月 2 2018 install.sh
-rw-r--r--. 1 root root 10771 5月 2 2018 LICENSE
-rw-r--r--. 1 root root 482 5月 2 2018 NOTICE
-rwxr-xr-x. 1 root root 27379 5月 2 2018 prepare
[root@harbor harbor]# vim harbor.cfg
安裝前檢查相關端口不要占用了
安裝
./prepare
./install.sh
測試
瀏覽器登陸192.168.8.129
默認用戶密碼 admin/Harbor12345(可以通過配置文件修改)
備注:https可以使用nginx統一進行代理