已经解决 DockerFile构建Centos镜像报错 Cannot prepare internal mirrorlist: No URLs in mirrorlist 解决办法 只需要在把FROM centos 改成 FROM centos:7 指定版本