Centos安装Harbor

wget https://github.com/goharbor/harbor/releases/download/v1.10.1/harbor-online-installer-v1.10.1.tgz
tar xvf harbor-online-installer-v1.10.1.tgz

修改harbor.yml

将https相关注释掉
将hostname设置为域名或者外网ip地址

默认登录名

admin Harbor12345

需要设置客户端文件为http,文件为/etc/docker/daemon.js,否则docker login会失败
{
"insecure-registries" : ["myregistrydomain.com"]
}
记住重启 service docker restart !!!

参考链接:
Harbor docs | Download the Harbor Installer
https://github.com/goharbor/harbor/releases

你可能感兴趣的:(centos,docker,linux)