centos8下docker和harbor搭建私有仓库
环境
centos8
docker-ce
harbor
centos8替换源
1.更换之前确保自己安装wget
yum list wget
2.若没有安装:
yum -y install wget
3.首先备份原版/etc/yum.repos.d/CentOS-Base.repo
cd /etc/yum.repos.d
sudo mv CentOS-Base.repo CentOS-Base.repo.bak
4.下载阿里的yum源配置文件,放入/etc/yum.repos.d/Cent
原创
2020-06-03 09:15:04 ·
1269 阅读 ·
0 评论