基础配置
systemctl stop firewalld && systemctl disable firewalld
setenforce 0
sed -i 's/SELINUX=enforcing/SELINUX=disabled/' /etc/selinux/config
harbor
wget http://mirrors.aliyun.com/docker-ce/linux/centos/docker-ce.repo
yum install -y docker-ce docker-ce-cli
cat <<EOF > /etc/docker/daemon.json
{
"exec-opts":["native.cgroupdriver=systemd"],
"insecure-registries":["ip2:80"]
}
EOF
systemctl daemon-reload && systemctl restart docker
cp docker-compose-linux-x86_64 /usr/local/bin/docker-compose
docker-compose --version
Docker Compose version v2.18.0
tar -xvf harbor-online-installer-v2.8.2.tgz
cp harbor-online/harbor.yml.tmpl harbor-online/harbor.yml
#更改hostname为ip,屏蔽https
vi harbor-online/harbor.yml

./install.sh


#web界面:http://ip
#默认:admin/Harbor12345
docker login ip2:8000 -u admin


















![2023年中国涂料助剂市场发展历程及趋势分析:中高端助剂市场规模将会迎来新的增长[图]](https://img-blog.csdnimg.cn/img_convert/741130b0b073cee8fc824e07521f0ef0.png)
![2023年中国临床质谱检测行业市场规模及行业竞争格局分析[图]](https://img-blog.csdnimg.cn/img_convert/8001293f6439bd6b5d9d7739c9176818.png)
