centos7 部署harbor 在CentOS 7上部署Harbor,您可以遵循以下步骤: 安装Docker Compose: sudo curl -L "https://github.com/docker/compose/releases/download/1.29.2/docker-compose-$(uname -s)-$(uname -m)" -o /usr/local/bin/docker-compose sudo chmod +x /usr/local/bin/docker-compose 下载Harbor offline installer: wget https://github.com/goharbor/harbor/releases/download/v2.0.0/harbor-offline-installer-v2.0.0.tgz 解压Harbor压缩包并修改配置: tar xvf harbor-offline-installer-v2.0.0.tgz cd harbor cp harbor.yml.tmpl harbor.yml 编辑 harbor.yml 文件,根据需要修改配置,例如 hostname, 密码等。 安装Harbor: ./install.sh 检查Harbor服务: sudo systemctl start harbor sudo systemctl enable harbor
标签:compose,harbor,sudo,centos7,Harbor,部署,installer,docker From: https://www.cnblogs.com/jason-zhao/p/18196296