【发布时间】:2021-01-08 08:41:39
【问题描述】:
我已经安装了 Oracle VM 并创建了一个 centos 7 机器 我已经成功安装了 Docker
然后我从 docker image 安装了 jenkins:jenkins/jenkins
因为我无法安装插件,所以出现以下错误: java.net.UnknownHostException: mirrors.tuna.tsinghua.edu.cn
我已经重新安装了几次,但问题仍然存在。
我尝试在 jenkins 容器中 ping google 并且工作正常。
请帮帮我。
【问题讨论】:
-
您是否再次尝试安装插件? ping 镜子?试过another mirror?
-
是的,我又安装了很多次,在其他 PC 上也安装了,但显示相同的结果。请问如何换成其他镜像?
标签: docker jenkins centos unknown-host