解决办法:
# 配置多个host(配置本地域名映射)
[root@vm10-11-0-38 ~]# cat /etc/hosts
127.0.0.1 localhost localhost.localdomain localhost4 localhost4.localdomain4
::1 localhost localhost.localdomain localhost6 localhost6.localdomain6
10.111.99.78 rds.harbor.ksyun.com rds.registry.ksyun.com
配置docker配置(由于配置的https拿http访问不到,配置80端口)
cat /etc/docker/daemon.json
{
"registry-mirrors": ["http://rds.harbor.ksyun.com"],
"insecure-registries": ["10.111.99.78:80","rds.harbor.ksyun.com","rds.harbor.ksyun.com:80","rds.registry.ksyun.com"]
}