企业级私有镜像仓库Harbor
作者:互联网
1.安装
#安装docker $ yum install docker # 安装docker ... $ systemctl start docker # 运行docker服务 $ yum install docker-compose #需要安装docker-compose
#新下载地址 wget https://github.com/goharbor/harbor/releases/download/v1.9.4/harbor-offline-installer-v1.9.4.tgz
#https配置参考
https://github.com/goharbor/harbor/blob/v1.9.4/docs/configure_https.md
#解压harbor $ tar zxvf harbor-offline-installer-v1.9.4.tgz $ cd harbor $ mkdir ssl $ cd ssl/ #生成key openssl genrsa -out ca.key 4096 #生成证书 openssl req -x509 -new -nodes -sha512 -days 3650 \ -subj "/C=TW/ST=Taipei/L=Taipei/O=example/OU=Personal/CN=yourdomain.com" \ -key ca.key \ -out ca.crt
标签:key,Harbor,ca,企业级,harbor,https,v1.9,镜像,docker 来源: https://www.cnblogs.com/CGCong/p/12221969.html