/etc/yum.repo.d 中新建docker.repo添加[docker]name=CentOS-$releasever - Mediabaseurl=ftp://10.191.51.X/dockergpgcheck=0enabled=1将其余文件移入/tmp文件夹yum claen allyum mackecacheyum install docker-ce.x86_64